File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,10 @@ use crate::sys_common::mutex as sys;
10
10
/// A mutual exclusion primitive useful for protecting shared data
11
11
///
12
12
/// This mutex will block threads waiting for the lock to become available. The
13
- /// mutex can also be statically initialized or created via a [`new`]
14
- /// constructor. Each mutex has a type parameter which represents the data that
15
- /// it is protecting. The data can only be accessed through the RAII guards
16
- /// returned from [`lock`] and [`try_lock`], which guarantees that the data is only
17
- /// ever accessed when the mutex is locked.
13
+ /// mutex can created via a [`new`] constructor. Each mutex has a type parameter
14
+ /// which represents the data that it is protecting. The data can only be accessed
15
+ /// through the RAII guards returned from [`lock`] and [`try_lock`], which
16
+ /// guarantees that the data is only ever accessed when the mutex is locked.
18
17
///
19
18
/// # Poisoning
20
19
///
You can’t perform that action at this time.
0 commit comments