about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-03-06 20:02:50 +0100
committerGitHub <noreply@github.com>2019-03-06 20:02:50 +0100
commitcefe9b09c120cfd8684fc2310ed2b295aafca01c (patch)
tree84f9d7d9de7baaf1bc10e3e8425ef5d31825593d
parent90bb07eca6c40ab98d31401597ba3f6c50a70c92 (diff)
downloadrust-cefe9b09c120cfd8684fc2310ed2b295aafca01c.tar.gz
rust-cefe9b09c120cfd8684fc2310ed2b295aafca01c.zip
Apply suggestions from code review
-rw-r--r--src/libcore/mem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 2e82c8c7781..2b6e7ab9b99 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -1269,7 +1269,7 @@ impl<T> MaybeUninit<T> {
     /// 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)]