From 1d0b6c122ba6c79e3a11d9f80f9d79125a260bb4 Mon Sep 17 00:00:00 2001 From: alimf17 Date: Fri, 2 Aug 2024 13:55:45 -0400 Subject: [PATCH] Update what-unsafe-does.md --- src/what-unsafe-does.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/what-unsafe-does.md b/src/what-unsafe-does.md index 372538e..3fb0721 100644 --- a/src/what-unsafe-does.md +++ b/src/what-unsafe-does.md @@ -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