We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RwLockReadGuard
1 parent ebc0373 commit 276d91dCopy full SHA for 276d91d
src/libstd/sync/rwlock.rs
@@ -77,6 +77,13 @@ unsafe impl<T: ?Sized + Send + Sync> Sync for RwLock<T> {}
77
78
/// RAII structure used to release the shared read access of a lock when
79
/// dropped.
80
+///
81
+/// This structure is created by the [`read()`] and [`try_read()`] methods on
82
+/// [`RwLock`].
83
84
+/// [`read()`]: struct.RwLock.html#method.read
85
+/// [`try_read()`]: struct.RwLock.html#method.try_read
86
+/// [`RwLock`]: struct.RwLock.html
87
#[must_use]
88
#[stable(feature = "rust1", since = "1.0.0")]
89
pub struct RwLockReadGuard<'a, T: ?Sized + 'a> {
0 commit comments