Merge pull request #457 from alimf17/patch-2

Update what-unsafe-does.md
pull/458/head
Eric Huss 4 months ago committed by GitHub
commit e94e24a2a6
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