From 49a616d2ead3299db19fba3523feb1f6424a4d4c Mon Sep 17 00:00:00 2001 From: Github Action Date: Wed, 15 Jan 2025 01:03:09 +0000 Subject: [PATCH 1/2] ci: automated update to rustc 1.84.0 --- rust-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-version b/rust-version index 6b4de0a42..bd0f9e6c2 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -1.83.0 +1.84.0 From 1ccc29e7153c87a4cd4dc5c599ff8ff4ccf23a57 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Tue, 21 Jan 2025 12:59:04 -0600 Subject: [PATCH 2/2] 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 d07c72712..1bc0a7884 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?;