Reword explanation of 'size' types.
Do not reference machine 'pointers' in explanation of 'size' types.
This commit is contained in:
parent
27380a3edd
commit
46885ee084
1 changed files with 5 additions and 3 deletions
|
|
@ -97,9 +97,11 @@ and `i64` is a signed, 64-bit integer.
|
|||
|
||||
## Variable sized types
|
||||
|
||||
Rust also provides types whose size depends on the size of a pointer of the
|
||||
underlying machine. These types have ‘size’ as the category, and come in signed
|
||||
and unsigned varieties. This makes for two types: `isize` and `usize`.
|
||||
Rust also provides types whose particular size depends on the underlying machine
|
||||
architecture. Their range is sufficient to express sizes of collections and they
|
||||
are used to address items in a vector, for example. These types have ‘size’ as
|
||||
the category, and come in signed and unsigned varieties. This makes for two types:
|
||||
`isize` and `usize`.
|
||||
|
||||
## Floating-point types
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue