From 1ccc29e7153c87a4cd4dc5c599ff8ff4ccf23a57 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Tue, 21 Jan 2025 12:59:04 -0600 Subject: [PATCH] ci(clippy): fix new stricter needless_lifetime errors for rust 1.84 https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes --- crates/wallet/src/wallet/persisted.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wallet/src/wallet/persisted.rs b/crates/wallet/src/wallet/persisted.rs index d07c7271..1bc0a788 100644 --- a/crates/wallet/src/wallet/persisted.rs +++ b/crates/wallet/src/wallet/persisted.rs @@ -241,7 +241,7 @@ impl PersistedWallet

{ /// Returns whether any new changes were persisted. /// /// If the `persister` errors, the staged changes will not be cleared. - pub async fn persist_async<'a>(&'a mut self, persister: &mut P) -> Result { + pub async fn persist_async(&mut self, persister: &mut P) -> Result { match self.inner.staged_mut() { Some(stage) => { P::persist(persister, &*stage).await?; -- 2.49.0