Skip to content

Commit f8ba3ea

Browse files
committed
Fix clippy lints
1 parent 6a4ed03 commit f8ba3ea

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/external_trait_impls/serde.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ mod set {
186186
where
187187
A: Allocator;
188188

189-
impl<'a, 'de, T, S, A> Visitor<'de> for SeqInPlaceVisitor<'a, T, S, A>
189+
impl<'de, T, S, A> Visitor<'de> for SeqInPlaceVisitor<'_, T, S, A>
190190
where
191191
T: Deserialize<'de> + Eq + Hash,
192192
S: BuildHasher + Default,

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
#![warn(missing_docs)]
3939
#![warn(rust_2018_idioms)]
4040
#![cfg_attr(feature = "nightly", warn(fuzzy_provenance_casts))]
41-
#![cfg_attr(feature = "nightly", allow(internal_features))]
41+
#![cfg_attr(
42+
feature = "nightly",
43+
allow(clippy::incompatible_msrv, internal_features)
44+
)]
4245

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

src/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ where
255255
Q: Hash + ?Sized,
256256
S: BuildHasher,
257257
{
258-
hash_builder.hash_one(val)
258+
hash_builder.hash_one(&val)
259259
}
260260

261261
#[cfg(feature = "default-hasher")]

0 commit comments

Comments
 (0)