We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d02c02b + 09751b9 commit 51b6edcCopy full SHA for 51b6edc
src/unsafety.md
@@ -8,4 +8,7 @@ Rust:
8
9
- Dereferencing a [raw pointer](types.html#pointer-types).
10
- Reading or writing a [mutable static variable](items.html#mutable-statics).
11
+- Reading a field of a [`union`](items.html#unions), or writing to a field of a
12
+ union that isn't [`Copy`](the-copy-trait.html).
13
- Calling an unsafe function (including an intrinsic or foreign function).
14
+- Implementing an unsafe trait.
0 commit comments