about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarosl LEE <github@barosl.com>2015-01-21 02:16:48 +0900
committerBarosl LEE <github@barosl.com>2015-01-21 02:16:48 +0900
commit4419fa39c21da965f4f618ab915a53cf419b318e (patch)
treecd04f41ac3c189da738805fc531411d87b595990
parentf836f1e412d0ff67131524245d46724561768a1a (diff)
parent2b6efbf92dfabbe0a938e68becdd87e3cbc8fdbc (diff)
downloadrust-4419fa39c21da965f4f618ab915a53cf419b318e.tar.gz
rust-4419fa39c21da965f4f618ab915a53cf419b318e.zip
Rollup merge of #21345 - glacjay:patch-1, r=alexcrichton
The reference should be `x`, not `FOO` itself.
-rw-r--r--src/doc/trpl/ownership.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/ownership.md b/src/doc/trpl/ownership.md
index 9ced5bb656c..8b7e37dd4c2 100644
--- a/src/doc/trpl/ownership.md
+++ b/src/doc/trpl/ownership.md
@@ -395,7 +395,7 @@ static FOO: i32 = 5;
 let x: &'static i32 = &FOO;
 ```
 
-This adds an `i32` to the data segment of the binary, and `FOO` is a reference
+This adds an `i32` to the data segment of the binary, and `x` is a reference
 to it.
 
 # Shared Ownership