Skip to content

Commit 7852529

Browse files
committed
docs: Don't mention unsafe pointers
1 parent 5e5b107 commit 7852529

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

doc/tutorial.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,10 +1010,6 @@ uniquely-owned boxes allocated on the exchange heap, and `&T`, for
10101010
borrowed pointers, which may point to any memory, and whose lifetimes
10111011
are governed by the call stack.
10121012

1013-
Rust also has an unsafe pointer, written `*T`, which is a completely
1014-
unchecked pointer type only used in unsafe code (and thus, in typical
1015-
Rust code, very rarely).
1016-
10171013
All pointer types can be dereferenced with the `*` unary operator.
10181014

10191015
## Shared boxes

0 commit comments

Comments
 (0)