We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08dd30d commit 109803fCopy full SHA for 109803f
src/doc/trpl/unsafe.md
@@ -93,10 +93,6 @@ offered by the Rust language and libraries. For example, they
93
- are plain-old-data, that is, they don't move ownership, again unlike
94
`Box`, hence the Rust compiler cannot protect against bugs like
95
use-after-free;
96
-- are considered sendable (if their contents is considered sendable),
97
- so the compiler offers no assistance with ensuring their use is
98
- thread-safe; for example, one can concurrently access a `*mut i32`
99
- from two threads without synchronization.
100
- lack any form of lifetimes, unlike `&`, and so the compiler cannot
101
reason about dangling pointers; and
102
- have no guarantees about aliasing or mutability other than mutation
0 commit comments