about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-25 20:19:47 -0600
committerGitHub <noreply@github.com>2016-11-25 20:19:47 -0600
commitd64b7030658c839c60d7c7165e8be19283c3f28c (patch)
tree780d188b8434665691af64403ecc919f260503d0
parent2217bd771c55aceff8eac61763af9bff11efd30c (diff)
parent49c6b3c23f686448d1ac888739d76b11cbe6355e (diff)
Auto merge of #37960 - samestep:five, r=frewsxcv
Use literal 5 instead of five in book section 4.1

The other two code snippets in this sentence are valid code, so it makes more sense to use the literal `5` rather than the invalid symbol `five`.
-rw-r--r--src/doc/book/variable-bindings.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/variable-bindings.md b/src/doc/book/variable-bindings.md
index 54316649c71..37b6c0513fc 100644
--- a/src/doc/book/variable-bindings.md
+++ b/src/doc/book/variable-bindings.md
@@ -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