diff options
| author | Dániel Buga <[email protected]> | 2023-08-15 19:13:36 +0200 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2023-08-15 19:13:36 +0200 |
| commit | 8655ba110c95777c3edab3aabef34ae71d64957a (patch) | |
| tree | 16f54d566d207e3ccbb3905867c6c4ce844e291f /embassy-sync/src | |
| parent | 0727f8690c4684d0622547edee2cf9dc22215a9b (diff) | |
Fix typo
Diffstat (limited to 'embassy-sync/src')
| -rw-r--r-- | embassy-sync/src/blocking_mutex/raw.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/blocking_mutex/raw.rs b/embassy-sync/src/blocking_mutex/raw.rs index 15796f1b2..a8afcad34 100644 --- a/embassy-sync/src/blocking_mutex/raw.rs +++ b/embassy-sync/src/blocking_mutex/raw.rs | |||
| @@ -11,7 +11,7 @@ use core::marker::PhantomData; | |||
| 11 | /// | 11 | /// |
| 12 | /// Note that, unlike other mutexes, implementations only guarantee no | 12 | /// Note that, unlike other mutexes, implementations only guarantee no |
| 13 | /// concurrent access from other threads: concurrent access from the current | 13 | /// concurrent access from other threads: concurrent access from the current |
| 14 | /// thread is allwed. For example, it's possible to lock the same mutex multiple times reentrantly. | 14 | /// thread is allowed. For example, it's possible to lock the same mutex multiple times reentrantly. |
| 15 | /// | 15 | /// |
| 16 | /// Therefore, locking a `RawMutex` is only enough to guarantee safe shared (`&`) access | 16 | /// Therefore, locking a `RawMutex` is only enough to guarantee safe shared (`&`) access |
| 17 | /// to the data, it is not enough to guarantee exclusive (`&mut`) access. | 17 | /// to the data, it is not enough to guarantee exclusive (`&mut`) access. |
