Skip to content

Commit e0a40f6

Browse files
committed
Silence clippy warning
1 parent 0a48931 commit e0a40f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tzdb_data/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ pub const fn find_raw(s: &[u8]) -> Option<&'static [u8]> {
9191
}
9292
}
9393

94+
#[allow(clippy::ref_option)] // we cannot change `TimeZoneRef::new`'s interface
9495
#[must_use]
9596
const fn new_time_zone_ref(
9697
transitions: &'static [tz::timezone::Transition],

0 commit comments

Comments
 (0)