We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae66f7f commit dc9637eCopy full SHA for dc9637e
openraft/src/type_config/async_runtime/mutex.rs
@@ -7,7 +7,7 @@ use crate::OptionalSync;
7
/// Represents an implementation of an asynchronous Mutex.
8
pub trait Mutex<T: OptionalSend + 'static>: OptionalSend + OptionalSync {
9
/// Handle to an acquired lock, should release it when dropped.
10
- type Guard<'a>: DerefMut<Target = T> + OptionalSend + OptionalSync
+ type Guard<'a>: DerefMut<Target = T> + OptionalSend
11
where Self: 'a;
12
13
/// Creates a new lock.
0 commit comments