Skip to content

Commit 069b3a6

Browse files
committed
Update primitive-types.md
Simplify explanation and rephrase as per @GuillaumeGomez's suggestion.
1 parent 46885ee commit 069b3a6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/doc/book/primitive-types.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,9 @@ and `i64` is a signed, 64-bit integer.
9898
## Variable sized types
9999

100100
Rust also provides types whose particular size depends on the underlying machine
101-
architecture. Their range is sufficient to express sizes of collections and they
102-
are used to address items in a vector, for example. These types have ‘size’ as
103-
the category, and come in signed and unsigned varieties. This makes for two types:
104-
`isize` and `usize`.
101+
architecture. Their range is sufficient to express the size of any collection, so
102+
these types have ‘size’ as the category. They come in signed and unsigned varieties
103+
which makes for two types: `isize` and `usize`.
105104

106105
## Floating-point types
107106

0 commit comments

Comments
 (0)