We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9809bb commit 50d530eCopy full SHA for 50d530e
reference/src/layout/scalars.md
@@ -53,8 +53,8 @@ They have the same layout as the [pointer types] for which the pointee is
53
> usize]`. Only ZST arrays can probably be this large in practice, non-ZST
54
> arrays are bound by the maximum size of Rust values,
55
>
56
-> * the maximum value by which a pointer can be offseted using `ptr.add(count:
57
-> usize)` is `usize::max_value()`.
+> * the maximum value in bytes by which a pointer can be offseted using
+> `ptr.add` or `ptr.offset` is `isize::max_value()`.
58
59
> These limits have not gone through the RFC process and are not guaranteed to
60
> hold.
0 commit comments