diff options
| author | jocki84 <jocki84@googlemail.com> | 2016-01-30 17:43:03 +0100 |
|---|---|---|
| committer | jocki84 <jocki84@googlemail.com> | 2016-01-30 17:43:03 +0100 |
| commit | 46885ee0848ab0d3e07bb677ef332e77b9c258f7 (patch) | |
| tree | caa6b10ce8278e80ca9c99c7d9697af6cd25a4c5 /src | |
| parent | 27380a3eddd57a65744416e308408e4f41e57f4b (diff) | |
| download | rust-46885ee0848ab0d3e07bb677ef332e77b9c258f7.tar.gz rust-46885ee0848ab0d3e07bb677ef332e77b9c258f7.zip | |
Reword explanation of 'size' types.
Do not reference machine 'pointers' in explanation of 'size' types.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/primitive-types.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/doc/book/primitive-types.md b/src/doc/book/primitive-types.md index 840609d1dd6..ed9b32809f1 100644 --- a/src/doc/book/primitive-types.md +++ b/src/doc/book/primitive-types.md @@ -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 |
