File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 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;
1010/// A mutual exclusion primitive useful for protecting shared data
1111///
1212/// 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.
1817///
1918/// # Poisoning
2019///
You can’t perform that action at this time.
0 commit comments