September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
6
Task/Literals-Integer/Rust/literals-integer.rust
Normal file
6
Task/Literals-Integer/Rust/literals-integer.rust
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
10 // Decimal
|
||||
0b10 // Binary
|
||||
0x10 // Hexadecimal
|
||||
0o10 // Octal
|
||||
1_000 // Underscores may appear anywhere in the numeric literal for clarity
|
||||
10_i32 // The type (in this case i32, a 32-bit signed integer) may also be appended.
|
||||
Loading…
Add table
Add a link
Reference in a new issue