diff options
| author | Barosl LEE <github@barosl.com> | 2015-01-21 02:16:48 +0900 |
|---|---|---|
| committer | Barosl LEE <github@barosl.com> | 2015-01-21 02:16:48 +0900 |
| commit | 4419fa39c21da965f4f618ab915a53cf419b318e (patch) | |
| tree | cd04f41ac3c189da738805fc531411d87b595990 | |
| parent | f836f1e412d0ff67131524245d46724561768a1a (diff) | |
| parent | 2b6efbf92dfabbe0a938e68becdd87e3cbc8fdbc (diff) | |
| download | rust-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.md | 2 |
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 |
