diff options
| author | Gus Wynn <guswynn@gmail.com> | 2021-09-28 17:57:08 -0700 |
|---|---|---|
| committer | Gus Wynn <guswynn@gmail.com> | 2021-09-28 17:57:08 -0700 |
| commit | cb8e83caeba7268ebb3515468d348aea7af9fdae (patch) | |
| tree | 64954c0efce5cf5170eca99887ff581a9e627925 /library/std/src/sync | |
| parent | 4cc3297dc403e9d4d2106b26418efe35d4bb1af2 (diff) | |
| download | rust-cb8e83caeba7268ebb3515468d348aea7af9fdae.tar.gz rust-cb8e83caeba7268ebb3515468d348aea7af9fdae.zip | |
ref/refmut
Diffstat (limited to 'library/std/src/sync')
| -rw-r--r-- | library/std/src/sync/mutex.rs | 2 | ||||
| -rw-r--r-- | library/std/src/sync/rwlock.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sync/mutex.rs b/library/std/src/sync/mutex.rs index 9abd4b547c7..06a97fd3f76 100644 --- a/library/std/src/sync/mutex.rs +++ b/library/std/src/sync/mutex.rs @@ -192,7 +192,7 @@ unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} not(bootstrap), must_not_suspend = "Holding a MutexGuard across suspend \ points can cause deadlocks, delays, \ - and cause Future's to not implement `Send`" + and cause Futures to not implement `Send`" )] #[stable(feature = "rust1", since = "1.0.0")] pub struct MutexGuard<'a, T: ?Sized + 'a> { diff --git a/library/std/src/sync/rwlock.rs b/library/std/src/sync/rwlock.rs index 1523d36323f..aa1ce82d967 100644 --- a/library/std/src/sync/rwlock.rs +++ b/library/std/src/sync/rwlock.rs @@ -99,7 +99,7 @@ unsafe impl<T: ?Sized + Send + Sync> Sync for RwLock<T> {} not(bootstrap), must_not_suspend = "Holding a RwLockReadGuard across suspend \ points can cause deadlocks, delays, \ - and cause Future's to not implement `Send`" + and cause Futures to not implement `Send`" )] #[stable(feature = "rust1", since = "1.0.0")] pub struct RwLockReadGuard<'a, T: ?Sized + 'a> { |
