File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments