Update primitive-types.md
Simplify explanation and rephrase as per @GuillaumeGomez's suggestion.
This commit is contained in:
parent
46885ee084
commit
069b3a67f5
1 changed files with 3 additions and 4 deletions
|
|
@ -98,10 +98,9 @@ and `i64` is a signed, 64-bit integer.
|
|||
## Variable sized types
|
||||
|
||||
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`.
|
||||
architecture. Their range is sufficient to express the size of any collection, so
|
||||
these types have ‘size’ as the category. They come in signed and unsigned varieties
|
||||
which makes for two types: `isize` and `usize`.
|
||||
|
||||
## Floating-point types
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue