From a02fdcee693e011c9b714ff66c2e11b4bf4654d0 Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Tue, 27 Jan 2026 02:54:17 -0800 Subject: [PATCH] undefined behavior: add missing plural in `undefined.misaligned.ptr` When discussing multiple projections, say "projections" --- src/behavior-considered-undefined.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/behavior-considered-undefined.md b/src/behavior-considered-undefined.md index 9ecf5b2253..068fd6ab0e 100644 --- a/src/behavior-considered-undefined.md +++ b/src/behavior-considered-undefined.md @@ -98,7 +98,7 @@ A place is said to be "based on a misaligned pointer" if the last `*` projection during place computation was performed on a pointer that was not aligned for its type. (If there is no `*` projection in the place expression, then this is accessing the field of a local or `static` and rustc will guarantee proper alignment. If -there are multiple `*` projection, then each of them incurs a load of the +there are multiple `*` projections, then each of them incurs a load of the pointer-to-be-dereferenced itself from memory, and each of these loads is subject to the alignment constraint. Note that some `*` projections can be omitted in surface Rust syntax due to automatic dereferencing; we are