We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a616d commit 1ccc29eCopy full SHA for 1ccc29e
crates/wallet/src/wallet/persisted.rs
@@ -241,7 +241,7 @@ impl<P: AsyncWalletPersister> PersistedWallet<P> {
241
/// Returns whether any new changes were persisted.
242
///
243
/// 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> {
+ pub async fn persist_async(&mut self, persister: &mut P) -> Result<bool, P::Error> {
245
match self.inner.staged_mut() {
246
Some(stage) => {
247
P::persist(persister, &*stage).await?;
0 commit comments