We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4347cbb commit 9293607Copy full SHA for 9293607
src/doc/trpl/pointers.md
@@ -87,11 +87,7 @@ println!("{}", x + z);
87
This gives us an error:
88
89
```text
90
-hello.rs:6:24: 6:25 error: mismatched types:
91
- expected `_`,
92
- found `&_`
93
-(expected integral variable,
94
- found &-ptr)
+hello.rs:6:24: 6:25 error: mismatched types: expected `_`, found `&_` (expected integral variable, found &-ptr)
95
hello.rs:6 println!("{}", x + z);
96
^
97
```
0 commit comments