From cefe9b09c120cfd8684fc2310ed2b295aafca01c Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 6 Mar 2019 20:02:50 +0100 Subject: [PATCH] Apply suggestions from code review --- src/libcore/mem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs index 2e82c8c77816c..2b6e7ab9b9950 100644 --- a/src/libcore/mem.rs +++ b/src/libcore/mem.rs @@ -1269,7 +1269,7 @@ impl MaybeUninit { /// let x_vec = unsafe { &mut *x.as_mut_ptr() }; /// // We have created a reference to an uninitialized vector! This is undefined behavior. /// ``` - /// (Notice that the rules around referenced to uninitialized data are not finalized yet, but + /// (Notice that the rules around references to uninitialized data are not finalized yet, but /// until they are, it is advisable to avoid them.) #[unstable(feature = "maybe_uninit", issue = "53491")] #[inline(always)]