diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs index 885422732e4..cb772458e50 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -1622,7 +1622,7 @@ impl fmt::Display for RefMut<'_, T> { /// `UnsafeCell` is a type that wraps some `T` and indicates unsafe interior operations on the /// wrapped type. Types with an `UnsafeCell` field are considered to have an 'unsafe interior'. /// The `UnsafeCell` type is the only legal way to obtain aliasable data that is considered -/// mutable. In general, transmuting an `&T` type into an `&mut T` is considered undefined behavior. +/// mutable. In general, transmuting a `&T` type into a `&mut T` is considered undefined behavior. /// /// If you have a reference `&SomeStruct`, then normally in Rust all fields of `SomeStruct` are /// immutable. The compiler makes optimizations based on the knowledge that `&T` is not mutably