File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,10 @@ They have the same layout as the [pointer types] for which the pointee is
44
44
> ** Note** : in the current Rust implementation, the layouts of ` isize ` and
45
45
> ` usize ` determine the following:
46
46
>
47
- > * the maximum size of Rust _ values _ is limited to ` isize::max_value() ` . The LLVM
48
- > ` getelementptr ` instruction uses signed-integer field offsets. Rust calls
49
- > ` getelementptr ` with the ` inbounds ` flag which assumes that field offsets do
50
- > not overflow,
47
+ > * the maximum size of Rust _ allocations _ is limited to ` isize::max_value() ` .
48
+ > The LLVM ` getelementptr ` instruction uses signed-integer field offsets. Rust
49
+ > calls ` getelementptr ` with the ` inbounds ` flag which assumes that field
50
+ > offsets do not overflow,
51
51
>
52
52
> * the maximum number of elements in an array is ` usize::max_value() ` (`[ T; N:
53
53
> usize] `. Only ZST arrays can probably be this large in practice, non-ZST
You can’t perform that action at this time.
0 commit comments