Skip to content

Commit

Permalink
Allow manual_range_contains clippy lint (chronotope#525)
Browse files Browse the repository at this point in the history
Range::contains was only stabilized in 1.35 and Chrono supports rustc
back to 1.13.
  • Loading branch information
robyoung authored and pickfire committed Jan 22, 2022
1 parent 9262eb9 commit 96207c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@
// Currently deprecated, we use the separate implementation to add docs
// warning that putting a time in a hash table is probably a bad idea
derive_hash_xor_eq,
// Range contains was stabilized in 1.35.
manual_range_contains,
))]

#[cfg(feature = "alloc")]
Expand Down

0 comments on commit 96207c6

Please sign in to comment.