We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 687faf9 commit d385d42Copy full SHA for d385d42
src/behavior-considered-undefined.md
@@ -78,7 +78,7 @@ The span of bytes a pointer or reference "points to" is determined by the pointe
78
A place is said to be "based on a misaligned pointer" if the last `*` projection
79
during place computation was performed on a pointer that was not aligned for its
80
type. (If there is no `*` projection in the place expression, then this is
81
-accessing the field of a local and rustc will guarantee proper alignment. If
+accessing the field of a local or `static` and rustc will guarantee proper alignment. If
82
there are multiple `*` projection, then each of them incurs a load of the
83
pointer-to-be-dereferenced itself from memory, and each of these loads is
84
subject to the alignment constraint. Note that some `*` projections can be
0 commit comments