Skip to content

Commit

Permalink
Merge pull request #597 from clarfonthey/clippy
Browse files Browse the repository at this point in the history
Fix clippy lints
  • Loading branch information
Amanieu authored Dec 9, 2024
2 parents 6a4ed03 + 384b955 commit 25365fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/external_trait_impls/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ mod set {
where
A: Allocator;

impl<'a, 'de, T, S, A> Visitor<'de> for SeqInPlaceVisitor<'a, T, S, A>
impl<'de, T, S, A> Visitor<'de> for SeqInPlaceVisitor<'_, T, S, A>
where
T: Deserialize<'de> + Eq + Hash,
S: BuildHasher + Default,
Expand Down
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
#![warn(missing_docs)]
#![warn(rust_2018_idioms)]
#![cfg_attr(feature = "nightly", warn(fuzzy_provenance_casts))]
#![cfg_attr(feature = "nightly", allow(internal_features))]
#![cfg_attr(
feature = "nightly",
allow(clippy::incompatible_msrv, internal_features)
)]

/// Default hasher for [`HashMap`] and [`HashSet`].
#[cfg(feature = "default-hasher")]
Expand Down

0 comments on commit 25365fc

Please sign in to comment.