feat: rustc and clippy linting

This commit is contained in:
CleverWild
2026-04-10 00:42:43 +02:00
committed by Skipper
parent 96b4eb1d98
commit d4084ded35
69 changed files with 1491 additions and 979 deletions

View File

@@ -49,7 +49,7 @@ impl<T: Hashable + PartialOrd> Hashable for Vec<T> {
}
}
impl<T: Hashable + PartialOrd> Hashable for HashSet<T> {
impl<T: Hashable + PartialOrd, S: std::hash::BuildHasher> Hashable for HashSet<T, S> {
fn hash<H: Digest>(&self, hasher: &mut H) {
let ref_sorted = {
let mut sorted = self.iter().collect::<Vec<_>>();