mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
docs: Don't mention unsafe pointers
This commit is contained in:
parent
5e5b107306
commit
78525299d5
@ -1010,10 +1010,6 @@ uniquely-owned boxes allocated on the exchange heap, and `&T`, for
|
||||
borrowed pointers, which may point to any memory, and whose lifetimes
|
||||
are governed by the call stack.
|
||||
|
||||
Rust also has an unsafe pointer, written `*T`, which is a completely
|
||||
unchecked pointer type only used in unsafe code (and thus, in typical
|
||||
Rust code, very rarely).
|
||||
|
||||
All pointer types can be dereferenced with the `*` unary operator.
|
||||
|
||||
## Shared boxes
|
||||
|
Loading…
Reference in New Issue
Block a user