File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ The span of bytes a pointer or reference "points to" is determined by the pointe
7878A place is said to be "based on a misaligned pointer" if the last ` * ` projection
7979during place computation was performed on a pointer that was not aligned for its
8080type. (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
81+ accessing the field of a local or ` static ` and rustc will guarantee proper alignment. If
8282there are multiple ` * ` projection, then each of them incurs a load of the
8383pointer-to-be-dereferenced itself from memory, and each of these loads is
8484subject to the alignment constraint. Note that some ` * ` projections can be
You can’t perform that action at this time.
0 commit comments