mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2024-06-10 09:19:34 +00:00
Use older Arc
method
This commit is contained in:
parent
11bc7de2d5
commit
4126c77394
|
@ -329,7 +329,7 @@ impl ActivityQueue {
|
|||
handle.await?;
|
||||
}
|
||||
|
||||
Arc::into_inner(self.stats).ok_or_else(|| anyhow!("Could not retrieve stats"))
|
||||
Arc::try_unwrap(self.stats).map_err(|_| anyhow!("Could not retrieve stats"))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue