mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 07:21:41 +00:00
Fix clippy warning
This commit is contained in:
parent
042fd0c286
commit
c8ff2c37a4
@ -103,7 +103,7 @@ pub(super) fn offset_from_local_datetime(local: &NaiveDateTime) -> LocalResult<F
|
||||
[Transition::new(dst_transition, tz_info.std_offset, tz_info.dst_offset)];
|
||||
lookup_with_dst_transitions(&transitions, *local)
|
||||
}
|
||||
(None, None) => return LocalResult::Single(tz_info.std_offset),
|
||||
(None, None) => LocalResult::Single(tz_info.std_offset),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user