File tree Expand file tree Collapse file tree
crates/matrix-sdk-base/src/store Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1465,7 +1465,6 @@ pub struct SaveLockedStateStore<T = Arc<DynStateStore>> {
14651465/// An error type that represents a scenario where a [`MutexGuard`] provided to
14661466/// a function does not reference the underlying [`Mutex`] in the enclosing
14671467/// [`SaveLockedStateStore`].
1468- #[ allow( unused) ]
14691468#[ derive( Debug , Error ) ]
14701469#[ error( "a mutex guard was provided, but it does not reference the correct mutex" ) ]
14711470pub struct IncorrectMutexGuardError ;
@@ -1494,7 +1493,6 @@ impl<T: StateStore> SaveLockedStateStore<T> {
14941493 /// has already acquired the underlying [`Mutex`]. Returns an error if
14951494 /// the [`MutexGuard`] provided does not reference the underlying
14961495 /// [`Mutex`].
1497- #[ allow( unused) ]
14981496 pub async fn save_changes_with_guard (
14991497 & self ,
15001498 guard : & MutexGuard < ' _ , ( ) > ,
You can’t perform that action at this time.
0 commit comments