Skip to content

Commit 74d8020

Browse files
committed
Rollup merge of rust-lang#25241 - sindreij:patch-2, r=steveklabnik
The start of the last text block in references was missing, I added it. r? @steveklabnik
2 parents e97a21c + 7a2ac0c commit 74d8020

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/trpl/references-and-borrowing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ println!("{}", y);
312312

313313
We get this error:
314314

315+
```text
315316
error: `x` does not live long enough
316317
y = &x;
317318
^

0 commit comments

Comments
 (0)