about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Roche <angst7@gmail.com>2015-01-18 15:28:12 -0500
committerMatt Roche <angst7@gmail.com>2015-01-18 15:28:12 -0500
commit9293607f8f485acc91be83bcc216ae01ed70b5fd (patch)
tree493e4fc17801800dfcaec4235e77bb3a1b19e9ed
parent4347cbbd665c8c65c88f31e73cd6d682de156025 (diff)
downloadrust-9293607f8f485acc91be83bcc216ae01ed70b5fd.tar.gz
rust-9293607f8f485acc91be83bcc216ae01ed70b5fd.zip
quick formatting fix
-rw-r--r--src/doc/trpl/pointers.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/doc/trpl/pointers.md b/src/doc/trpl/pointers.md
index fd839d17b20..29986d7f235 100644
--- a/src/doc/trpl/pointers.md
+++ b/src/doc/trpl/pointers.md
@@ -87,11 +87,7 @@ println!("{}", x + z);
 This gives us an error:
 
 ```text
-hello.rs:6:24: 6:25 error: mismatched types:
- expected `_`,
-    found `&_`
-(expected integral variable,
-    found &-ptr)
+hello.rs:6:24: 6:25 error: mismatched types: expected `_`, found `&_` (expected integral variable, found &-ptr)
 hello.rs:6     println!("{}", x + z);
                                   ^
 ```