diff --git a/src/doc/trpl/pointers.md b/src/doc/trpl/pointers.md index fd839d17b205..29986d7f2357 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); ^ ```