Fix 1.89 clippy warnings (#2055)

* Fix 1.89 clippy warnings

* WASM lightclient clippy fixes too
This commit is contained in:
James Wilson
2025-08-11 15:33:55 +01:00
committed by GitHub
parent 642e6b5be5
commit 42f1a62a05
8 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ impl<T: Config> EventDetails<T> {
}
/// Fetch details from the metadata for this event.
pub fn event_metadata(&self) -> EventMetadataDetails {
pub fn event_metadata(&self) -> EventMetadataDetails<'_> {
let pallet = self
.metadata
.pallet_by_index(self.pallet_index())