We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f85268 commit 179dc7dCopy full SHA for 179dc7d
src/type-layout.md
@@ -549,13 +549,7 @@ The `align` modifier can also be applied on an `enum`.
549
When it is, the effect on the `enum`'s alignment is the same as if the `enum`
550
was wrapped in a newtype `struct` with the same `align` modifier.
551
552
-<div class="warning">
553
-
554
-***Warning:*** Dereferencing an unaligned pointer is [undefined behavior] and
555
-it is possible to [safely create unaligned pointers to `packed` fields][27060].
556
-Like all ways to create undefined behavior in safe Rust, this is a bug.
557
558
-</div>
+Dereferencing an unaligned pointer is [undefined behavior].
559
560
### The `transparent` Representation
561
0 commit comments