]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/cell.rs
Add get_many_mut methods to slice
[rust.git] / library / core / src / cell.rs
index e6a11218139d97c98eb9a0ba5f80bad413c7b24b..f2975d054572cee34e28c0b8954ff7ec99a5a5f6 100644 (file)
@@ -1936,7 +1936,7 @@ impl<T> UnsafeCell<T> {
     /// Constructs a new instance of `UnsafeCell` which will wrap the specified
     /// value.
     ///
-    /// All access to the inner value through methods is `unsafe`.
+    /// All access to the inner value through `&UnsafeCell<T>` requires `unsafe` code.
     ///
     /// # Examples
     ///