Update what-unsafe-does.md

pull/457/head
alimf17 4 months ago committed by GitHub
parent 0ebdacadbd
commit 1d0b6c122b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save