@@ -62,14 +62,14 @@ let y = 1.0; // y has type f64
6262Here’s a list of the different numeric types, with links to their documentation
6363in the standard library:
6464
65+ * [ i8] ( ../std/primitive.i8.html )
6566* [ i16] ( ../std/primitive.i16.html )
6667* [ i32] ( ../std/primitive.i32.html )
6768* [ i64] ( ../std/primitive.i64.html )
68- * [ i8 ] ( ../std/primitive.i8 .html )
69+ * [ u8 ] ( ../std/primitive.u8 .html )
6970* [ u16] ( ../std/primitive.u16.html )
7071* [ u32] ( ../std/primitive.u32.html )
7172* [ u64] ( ../std/primitive.u64.html )
72- * [ u8] ( ../std/primitive.u8.html )
7373* [ isize] ( ../std/primitive.isize.html )
7474* [ usize] ( ../std/primitive.usize.html )
7575* [ f32] ( ../std/primitive.f32.html )
@@ -82,12 +82,12 @@ Let’s go over them by category:
8282Integer types come in two varieties: signed and unsigned. To understand the
8383difference, let’s consider a number with four bits of size. A signed, four-bit
8484number would let you store numbers from ` -8 ` to ` +7 ` . Signed numbers use
85- ‘ two’s compliment representation’ . An unsigned four bit number, since it does
85+ “ two’s compliment representation” . An unsigned four bit number, since it does
8686not need to store negatives, can store values from ` 0 ` to ` +15 ` .
8787
8888Unsigned types use a ` u ` for their category, and signed types use ` i ` . The ` i `
8989is for ‘integer’. So ` u8 ` is an eight-bit unsigned number, and ` i8 ` is an
90- eight-bit signed number.
90+ eight-bit signed number.
9191
9292## Fixed size types
9393
@@ -103,7 +103,7 @@ and unsigned varieties. This makes for two types: `isize` and `usize`.
103103
104104## Floating-point types
105105
106- Rust also two floating point types: ` f32 ` and ` f64 ` . These correspond to
106+ Rust also has two floating point types: ` f32 ` and ` f64 ` . These correspond to
107107IEEE-754 single and double precision numbers.
108108
109109# Arrays
@@ -241,8 +241,8 @@ println!("x is {}", x);
241241Remember [ before] [ let ] when I said the left-hand side of a ` let ` statement was more
242242powerful than just assigning a binding? Here we are. We can put a pattern on
243243the left-hand side of the ` let ` , and if it matches up to the right-hand side,
244- we can assign multiple bindings at once. In this case, ` let ` " destructures,"
245- or " breaks up," the tuple, and assigns the bits to three bindings.
244+ we can assign multiple bindings at once. In this case, ` let ` “ destructures”
245+ or “ breaks up” the tuple, and assigns the bits to three bindings.
246246
247247[ let ] : variable-bindings.html
248248
0 commit comments