Skip to content

Commit 1ccc29e

Browse files
committed
ci(clippy): fix new stricter needless_lifetime errors for rust 1.84
https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
1 parent 49a616d commit 1ccc29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wallet/src/wallet/persisted.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ impl<P: AsyncWalletPersister> PersistedWallet<P> {
241241
/// Returns whether any new changes were persisted.
242242
///
243243
/// If the `persister` errors, the staged changes will not be cleared.
244-
pub async fn persist_async<'a>(&'a mut self, persister: &mut P) -> Result<bool, P::Error> {
244+
pub async fn persist_async(&mut self, persister: &mut P) -> Result<bool, P::Error> {
245245
match self.inner.staged_mut() {
246246
Some(stage) => {
247247
P::persist(persister, &*stage).await?;

0 commit comments

Comments
 (0)