Skip to content

Commit

Permalink
Update what-unsafe-does.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alimf17 authored Aug 2, 2024
1 parent 0ebdaca commit 1d0b6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/what-unsafe-does.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The only things that are different in Unsafe Rust are that you can:
* Dereference raw pointers
* Call `unsafe` functions (including C functions, compiler intrinsics, and the raw allocator)
* Implement `unsafe` traits
* Mutate statics
* Access or modify mutable statics
* Access fields of `union`s

That's it. The reason these operations are relegated to Unsafe is that misusing
Expand Down

0 comments on commit 1d0b6c1

Please sign in to comment.