diff options
| author | mejrs <> | 2022-09-27 13:06:31 +0200 |
|---|---|---|
| committer | mejrs <> | 2022-09-27 21:42:09 +0200 |
| commit | f3ac328d584b83bb7f0b4faa0f7a5699151b3ce9 (patch) | |
| tree | cf8dc2045284ed418f109b2b9db461b0d3116d26 /library/std/src/sync | |
| parent | c4c94151321b8018ceb06ccff359109b8fed6bfe (diff) | |
| download | rust-f3ac328d584b83bb7f0b4faa0f7a5699151b3ce9.tar.gz rust-f3ac328d584b83bb7f0b4faa0f7a5699151b3ce9.zip | |
Address feedback
Diffstat (limited to 'library/std/src/sync')
| -rw-r--r-- | library/std/src/sync/rwlock.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sync/rwlock.rs b/library/std/src/sync/rwlock.rs index 9ab781561e9..ee2c79b6669 100644 --- a/library/std/src/sync/rwlock.rs +++ b/library/std/src/sync/rwlock.rs @@ -76,6 +76,7 @@ use crate::sys_common::rwlock as sys; /// /// [`Mutex`]: super::Mutex #[stable(feature = "rust1", since = "1.0.0")] +#[cfg_attr(not(test), rustc_diagnostic_item = "RwLock")] pub struct RwLock<T: ?Sized> { inner: sys::MovableRwLock, poison: poison::Flag, |
