diff options
| author | Sam Estep <sam@samestep.com> | 2016-11-23 08:41:50 -0500 |
|---|---|---|
| committer | Sam Estep <sam@samestep.com> | 2016-11-23 08:41:50 -0500 |
| commit | 49c6b3c23f686448d1ac888739d76b11cbe6355e (patch) | |
| tree | 34566ff943281777d2a541880cc5419ba8943c24 /src/doc | |
| parent | ccdc26fd42dfccc5832114baa275f0936738095a (diff) | |
| download | rust-49c6b3c23f686448d1ac888739d76b11cbe6355e.tar.gz rust-49c6b3c23f686448d1ac888739d76b11cbe6355e.zip | |
Use literal 5 instead of five in book section 4.1
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/book/variable-bindings.md | 2 |
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 |
