about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/doc/rust.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rust.md b/src/doc/rust.md
index 4ea17e735df..cea66fdcd6c 100644
--- a/src/doc/rust.md
+++ b/src/doc/rust.md
@@ -1036,6 +1036,7 @@ Unsafe operations are those that potentially violate the memory-safety guarantee
 The following language level features cannot be used in the safe subset of Rust:
 
   - Dereferencing a [raw pointer](#pointer-types).
+  - Reading or writing a [mutable static variable](#mutable-statics).
   - Calling an unsafe function (including an intrinsic or foreign function).
 
 ##### Unsafe functions