We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3328913 commit abc61d2Copy full SHA for abc61d2
library/core/src/cell.rs
@@ -1816,7 +1816,7 @@ impl<T: ?Sized + fmt::Display> fmt::Display for RefMut<'_, T> {
1816
/// `UnsafeCell<T>` opts-out of the immutability guarantee for `&T`: a shared reference
1817
/// `&UnsafeCell<T>` may point to data that is being mutated. This is called "interior mutability".
1818
///
1819
-/// All other types that allow internal mutability, such as `Cell<T>` and `RefCell<T>`, internally
+/// All other types that allow internal mutability, such as [`Cell<T>`] and [`RefCell<T>`], internally
1820
/// use `UnsafeCell` to wrap their data.
1821
1822
/// Note that only the immutability guarantee for shared references is affected by `UnsafeCell`. The
0 commit comments