]> git.lizzy.rs Git - rust.git/commitdiff
Add missing backticks
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 10 May 2015 19:05:04 +0000 (21:05 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 10 May 2015 19:05:04 +0000 (21:05 +0200)
src/doc/trpl/references-and-borrowing.md

index 06ff9bfbc55d9848fd8dbb601f82be7694eaf3e4..82533becef3421370254da3ee33cd3068e6b0637 100644 (file)
@@ -312,6 +312,7 @@ println!("{}", y);
 
 We get this error:
 
+```text
 error: `x` does not live long enough
     y = &x;
          ^
@@ -347,6 +348,7 @@ println!("{}", y);
 
 We get this error:
 
+```text
 error: `x` does not live long enough
 y = &x;
      ^
@@ -366,3 +368,4 @@ statement 1 at 3:14
     
     println!("{}", y);
 }
+```
\ No newline at end of file