Address feedback

This commit is contained in:
mejrs
2022-09-27 13:06:31 +02:00
parent c4c9415132
commit f3ac328d58
10 changed files with 113 additions and 30 deletions

View File

@@ -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,