From 2f76a10a1d3617e414fb33c0c6cd5cb7782197ad Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 9 Jul 2022 18:03:59 +0200 Subject: Fix further `clippy` lints ... and explicitly annotate crates as well. --- futures/src/subscription/tracker.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'futures/src/subscription/tracker.rs') diff --git a/futures/src/subscription/tracker.rs b/futures/src/subscription/tracker.rs index 5717fdb9..9fe110b0 100644 --- a/futures/src/subscription/tracker.rs +++ b/futures/src/subscription/tracker.rs @@ -156,3 +156,13 @@ where }); } } + +impl Default for Tracker +where + Hasher: std::hash::Hasher + Default, + Event: 'static + Send + Clone, +{ + fn default() -> Self { + Self::new() + } +} -- cgit