about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorjocki84 <jocki84@googlemail.com>2016-01-30 17:43:03 +0100
committerjocki84 <jocki84@googlemail.com>2016-01-30 17:43:03 +0100
commit46885ee0848ab0d3e07bb677ef332e77b9c258f7 (patch)
treecaa6b10ce8278e80ca9c99c7d9697af6cd25a4c5 /src
parent27380a3eddd57a65744416e308408e4f41e57f4b (diff)
downloadrust-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.md8
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