From 2b9ba461116f24cfdbee5f3f4cc71185a7578639 Mon Sep 17 00:00:00 2001 From: Petar Dambovaliev Date: Sat, 12 Dec 2020 23:08:04 +0100 Subject: [PATCH] fix indefinite article in cell.rs --- library/core/src/cell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs index e1b6307613b73..c5751922d2a89 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -1532,7 +1532,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