Skip to content

Commit 2b9ba46

Browse files
fix indefinite article in cell.rs
1 parent b7ebc6b commit 2b9ba46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/cell.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ impl<T: ?Sized + fmt::Display> fmt::Display for RefMut<'_, T> {
15321532
/// `UnsafeCell<T>` is a type that wraps some `T` and indicates unsafe interior operations on the
15331533
/// wrapped type. Types with an `UnsafeCell<T>` field are considered to have an 'unsafe interior'.
15341534
/// The `UnsafeCell<T>` type is the only legal way to obtain aliasable data that is considered
1535-
/// mutable. In general, transmuting an `&T` type into an `&mut T` is considered undefined behavior.
1535+
/// mutable. In general, transmuting a `&T` type into a `&mut T` is considered undefined behavior.
15361536
///
15371537
/// If you have a reference `&SomeStruct`, then normally in Rust all fields of `SomeStruct` are
15381538
/// immutable. The compiler makes optimizations based on the knowledge that `&T` is not mutably

0 commit comments

Comments
 (0)