Skip to content

Commit 99cfce8

Browse files
mgoldenbergpoljar
authored andcommitted
refactor(base): remove unnecessary #[allow(unused)]
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net>
1 parent 624c7a0 commit 99cfce8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

crates/matrix-sdk-base/src/store/traits.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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")]
14711470
pub 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<'_, ()>,

0 commit comments

Comments
 (0)