diff options
| author | jocki84 <jocki84@googlemail.com> | 2016-04-12 14:59:55 +0200 |
|---|---|---|
| committer | jocki84 <jocki84@googlemail.com> | 2016-04-12 14:59:55 +0200 |
| commit | 069b3a67f52fa5cac91dd14d40110ed081d55166 (patch) | |
| tree | 94a827652bfdc43fdfff0fc7dae9ea1575c6509c | |
| parent | 46885ee0848ab0d3e07bb677ef332e77b9c258f7 (diff) | |
| download | rust-069b3a67f52fa5cac91dd14d40110ed081d55166.tar.gz rust-069b3a67f52fa5cac91dd14d40110ed081d55166.zip | |
Update primitive-types.md
Simplify explanation and rephrase as per @GuillaumeGomez's suggestion.
| -rw-r--r-- | src/doc/book/primitive-types.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/doc/book/primitive-types.md b/src/doc/book/primitive-types.md index ed9b32809f1..e6ef7bcba6c 100644 --- a/src/doc/book/primitive-types.md +++ b/src/doc/book/primitive-types.md @@ -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 |
