Skip to content

Commit

Permalink
Merge pull request #457 from alimf17/patch-2
Browse files Browse the repository at this point in the history
Update what-unsafe-does.md
  • Loading branch information
ehuss authored Aug 9, 2024
2 parents 0ebdaca + 1d0b6c1 commit e94e24a
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 e94e24a

Please sign in to comment.