Skip to content

Commit

Permalink
Make offset kind uninhabited
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Dec 7, 2022
1 parent f9f895e commit 581c44a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions time/src/date_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ use crate::{error, util, Date, Duration, Month, Time, UtcOffset, Weekday};

#[allow(missing_debug_implementations, missing_copy_implementations)]
pub(crate) mod offset_kind {
pub struct None;
pub struct Fixed;
pub enum None {}
pub enum Fixed {}
}

pub(crate) use sealed::MaybeOffset;
Expand Down

0 comments on commit 581c44a

Please sign in to comment.