We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9db1f42 commit 1a1a99cCopy full SHA for 1a1a99c
library/core/src/cell.rs
@@ -1580,7 +1580,7 @@ impl<T: ?Sized + fmt::Display> fmt::Display for RefMut<'_, T> {
1580
/// `&UnsafeCell<_>` reference); there is no magic whatsoever when dealing with _exclusive_
1581
/// accesses (_e.g._, through an `&mut UnsafeCell<_>`): neither the cell nor the wrapped value
1582
/// may be aliased for the duration of that `&mut` borrow.
1583
-/// This is showcased by the [`.get_mut()`] accessor, which is a non-`unsafe` getter that yields
+/// This is showcased by the [`.get_mut()`] accessor, which is a _safe_ getter that yields
1584
/// a `&mut T`.
1585
///
1586
/// [`.get_mut()`]: `UnsafeCell::get_mut`
0 commit comments