Skip to content

Commit

Permalink
Merge pull request rust-lang#339 from markmmm/Add-u128-and-i128-tokens
Browse files Browse the repository at this point in the history
Add u128 and i128 tokens
  • Loading branch information
Havvy authored Jun 3, 2018
2 parents f1002ea + 00b7534 commit 3d4ac84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ evaluated (primarily) at compile time.

| Integer | Floating-point |
|---------|----------------|
| `u8`, `i8`, `u16`, `i16`, `u32`, `i32`, `u64`, `i64`, `u128`, `i128`, `isize`, `usize` | `f32`, `f64` |
| `u8`, `i8`, `u16`, `i16`, `u32`, `i32`, `u64`, `i64`, `u128`, `i128`, `usize`, `isize` | `f32`, `f64` |

### Character and string literals

Expand Down Expand Up @@ -350,7 +350,7 @@ Like any literal, an integer literal may be followed (immediately,
without any spaces) by an _integer suffix_, which forcibly sets the
type of the literal. The integer suffix must be the name of one of the
integral types: `u8`, `i8`, `u16`, `i16`, `u32`, `i32`, `u64`, `i64`,
`u128`, `i128`, `isize`, or `usize`.
`u128`, `i128`, `usize`, or `isize`.

The type of an _unsuffixed_ integer literal is determined by type inference:

Expand Down

0 comments on commit 3d4ac84

Please sign in to comment.