Skip to content

Commit d60f9b0

Browse files
Update content/Rust-1.91.0.md
Co-authored-by: Laine Taffin Altman <[email protected]>
1 parent 5141767 commit d60f9b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/Rust-1.91.0.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ warning: a dangling pointer will be produced because the local variable `x` will
7373
= note: `#[warn(dangling_pointers_from_locals)]` on by default
7474
```
7575

76-
Note that the code above is not itself unsafe, as it doesn't perform any dangerous
77-
operations itself. Only dereferencing the raw pointer would be unsafe. We expect future
78-
releases of Rust to add more functionality helping authors to safely interact with raw
79-
pointers, and unsafe code more generally.
76+
Note that the code above is not unsafe, as it itself doesn't perform any dangerous
77+
operations. Only dereferencing the raw pointer after the function returns would be
78+
unsafe. We expect future releases of Rust to add more functionality helping authors
79+
to safely interact with raw pointers, and with unsafe code more generally.
8080

8181
### Stabilized APIs
8282

0 commit comments

Comments
 (0)