]> git.lizzy.rs Git - rust.git/blob - src/doc/reference/src/unsafety.md
clean up some things
[rust.git] / src / doc / reference / src / unsafety.md
1 # Unsafety
2
3 Unsafe operations are those that potentially violate the memory-safety
4 guarantees of Rust's static semantics.
5
6 The following language level features cannot be used in the safe subset of
7 Rust:
8
9 - Dereferencing a [raw pointer](#pointer-types).
10 - Reading or writing a [mutable static variable](#mutable-statics).
11 - Calling an unsafe function (including an intrinsic or foreign function).