We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 760942d commit aa9efa1Copy full SHA for aa9efa1
doc/rust.md
@@ -3162,7 +3162,7 @@ Borrowed pointers (`&`)
3162
Borrowed pointers arise by (automatic) conversion from owning pointers, managed pointers,
3163
or by applying the borrowing operator `&` to some other value,
3164
including [lvalues, rvalues or temporaries](#lvalues-rvalues-and-temporaries).
3165
- Borrowed pointers are written `&content`, or in some cases `&f/content` for some lifetime-variable `f`,
+ Borrowed pointers are written `&content`, or in some cases `&'f content` for some lifetime-variable `f`,
3166
for example `&int` means a borrowed pointer to an integer.
3167
Copying a borrowed pointer is a "shallow" operation:
3168
it involves only copying the pointer itself.
0 commit comments