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.
1 parent 8de5f2b commit cc4c14bCopy full SHA for cc4c14b
src/type-layout.md
@@ -624,8 +624,8 @@ fn err<const N: usize>(t: &T<N>) -> &[u16] {
624
```
625
626
Note: This is a hard error, not a lint. Implementations may determine the
627
-target’s ABI alignment either directly from the borrowed type, or—when the full
628
-layout of an array is unavailable in generic contexts—by using the element type’s
+target's ABI alignment either directly from the borrowed type, or---when the full
+layout of an array is unavailable in generic contexts---by using the element type's
629
alignment (align([T]) == align(T)). The check must remain conservative and never
630
permit creating misaligned references.
631
0 commit comments