Fix 1.89 clippy warnings (#2055)

* Fix 1.89 clippy warnings

* WASM lightclient clippy fixes too
This commit is contained in:
James Wilson authored and GitHub committed 2025-08-11 15:33:55 +01:00
1 parent 642e6b5be5
commit 42f1a62a05
8 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -240,7 +240,7 @@ impl Metadata {
}
/// Obtain a unique hash representing this metadata or specific parts of it.
pub fn hasher(&self) -> MetadataHasher {
pub fn hasher(&self) -> MetadataHasher<'_> {
MetadataHasher::new(self)
}