about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-10 15:57:51 +0200
committerGitHub <noreply@github.com>2016-09-10 15:57:51 +0200
commit8bfc5617524eb4a5d74152a37abd0cb05434505a (patch)
tree7dc140b727162a7280fb79d180246649fb17af92
parenta221ad06f298081bc6547bb356c5411e16050b89 (diff)
parentf6aab5b9e516f3086e75745f53aaf77212bedde9 (diff)
downloadrust-8bfc5617524eb4a5d74152a37abd0cb05434505a.tar.gz
rust-8bfc5617524eb4a5d74152a37abd0cb05434505a.zip
Rollup merge of #36326 - JDemler:master, r=steveklabnik
Fixed typo in nomicon
-rw-r--r--src/doc/nomicon/ownership.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/nomicon/ownership.md b/src/doc/nomicon/ownership.md
index 6be8d3b7028..a6ecf6ab91b 100644
--- a/src/doc/nomicon/ownership.md
+++ b/src/doc/nomicon/ownership.md
@@ -52,7 +52,7 @@ let mut data = vec![1, 2, 3];
 let x = &data[0];
 
 // OH NO! `push` causes the backing storage of `data` to be reallocated.
-// Dangling pointer! User after free! Alas!
+// Dangling pointer! Use after free! Alas!
 // (this does not compile in Rust)
 data.push(4);