Skip to content

Commit

Permalink
Update library/std/src/sync/mutex.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Weiyi Wang <wwylele@gmail.com>
  • Loading branch information
Dylan-DPC and wwylele committed Jun 7, 2022
1 parent 83af085 commit e224185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sync/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::sys_common::mutex as sys;
/// A mutual exclusion primitive useful for protecting shared data
///
/// This mutex will block threads waiting for the lock to become available. The
/// mutex can created via a [`new`] constructor. Each mutex has a type parameter
/// mutex can be created via a [`new`] constructor. Each mutex has a type parameter
/// which represents the data that it is protecting. The data can only be accessed
/// through the RAII guards returned from [`lock`] and [`try_lock`], which
/// guarantees that the data is only ever accessed when the mutex is locked.
Expand Down

0 comments on commit e224185

Please sign in to comment.