Skip to content

Commit

Permalink
Use literal 5 instead of five in book section 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
samestep committed Nov 23, 2016
1 parent ccdc26f commit 49c6b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/variable-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let x: i32 = 5;
```

If I asked you to read this out loud to the rest of the class, you’d say “`x`
is a binding with the type `i32` and the value `five`.”
is a binding with the type `i32` and the value `5`.”

In this case we chose to represent `x` as a 32-bit signed integer. Rust has
many different primitive integer types. They begin with `i` for signed integers
Expand Down

0 comments on commit 49c6b3c

Please sign in to comment.