Skip to content

Commit

Permalink
Rollup merge of rust-lang#25241 - sindreij:patch-2, r=steveklabnik
Browse files Browse the repository at this point in the history
The start of the last text block in references was missing, I added it.

r? @steveklabnik
  • Loading branch information
steveklabnik committed May 10, 2015
2 parents e97a21c + 7a2ac0c commit 74d8020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/doc/trpl/references-and-borrowing.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ println!("{}", y);

We get this error:

```text
error: `x` does not live long enough
y = &x;
^
Expand Down

0 comments on commit 74d8020

Please sign in to comment.