Skip to content

Commit e224185

Browse files
Dylan-DPCwwylele
andauthored
Update library/std/src/sync/mutex.rs
Co-authored-by: Weiyi Wang <[email protected]>
1 parent 83af085 commit e224185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sync/mutex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ 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 created via a [`new`] constructor. Each mutex has a type parameter
13+
/// mutex can be created via a [`new`] constructor. Each mutex has a type parameter
1414
/// which represents the data that it is protecting. The data can only be accessed
1515
/// through the RAII guards returned from [`lock`] and [`try_lock`], which
1616
/// guarantees that the data is only ever accessed when the mutex is locked.

0 commit comments

Comments
 (0)