From 384b955c7050f1520b16a39c3028a8231f97287e Mon Sep 17 00:00:00 2001 From: ltdk Date: Sun, 8 Dec 2024 16:25:25 -0500 Subject: [PATCH] Fix clippy lints --- src/external_trait_impls/serde.rs | 2 +- src/lib.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/external_trait_impls/serde.rs b/src/external_trait_impls/serde.rs index 0a76dbec2..f9eb05fd7 100644 --- a/src/external_trait_impls/serde.rs +++ b/src/external_trait_impls/serde.rs @@ -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, diff --git a/src/lib.rs b/src/lib.rs index 5b5d1857d..5fa2cda4c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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")]