From 46885ee0848ab0d3e07bb677ef332e77b9c258f7 Mon Sep 17 00:00:00 2001 From: jocki84 Date: Sat, 30 Jan 2016 17:43:03 +0100 Subject: [PATCH] Reword explanation of 'size' types. Do not reference machine 'pointers' in explanation of 'size' types. --- src/doc/book/primitive-types.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/doc/book/primitive-types.md b/src/doc/book/primitive-types.md index 840609d1dd62..ed9b32809f1f 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