Fix further clippy lints

... and explicitly annotate crates as well.
This commit is contained in:
Héctor Ramón Jiménez 2022-07-09 18:03:59 +02:00
parent 33a24b5821
commit 2f76a10a1d
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
33 changed files with 197 additions and 85 deletions

View file

@ -156,3 +156,13 @@ where
});
}
}
impl<Hasher, Event> Default for Tracker<Hasher, Event>
where
Hasher: std::hash::Hasher + Default,
Event: 'static + Send + Clone,
{
fn default() -> Self {
Self::new()
}
}