We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b3e909 commit dad3270Copy full SHA for dad3270
1 file changed
library/core/src/cell.rs
@@ -1936,7 +1936,7 @@ impl<T> UnsafeCell<T> {
1936
/// Constructs a new instance of `UnsafeCell` which will wrap the specified
1937
/// value.
1938
///
1939
- /// All access to the inner value through methods is `unsafe`.
+ /// All access to the inner value through `&UnsafeCell<T>` requires `unsafe` code.
1940
1941
/// # Examples
1942
0 commit comments