diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-07 15:15:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-07 15:15:19 +0200 |
| commit | e224185409bd20b91c5eb0652748283658d7c4dd (patch) | |
| tree | edfc1b63cc27192ccd43bf31a162d55756a8c2a4 | |
| parent | 83af085c777fb71e49a132a6a713aa93fb4f2019 (diff) | |
| download | rust-e224185409bd20b91c5eb0652748283658d7c4dd.tar.gz rust-e224185409bd20b91c5eb0652748283658d7c4dd.zip | |
Update library/std/src/sync/mutex.rs
Co-authored-by: Weiyi Wang <wwylele@gmail.com>
| -rw-r--r-- | library/std/src/sync/mutex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/mutex.rs b/library/std/src/sync/mutex.rs index 69b025a58f4..b2fbb77204a 100644 --- a/library/std/src/sync/mutex.rs +++ b/library/std/src/sync/mutex.rs @@ -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. |
