tutorial: Typo
This commit is contained in:
parent
18bce94a5a
commit
24153eb30f
@ -421,7 +421,7 @@ Rust will assume that an unsuffixed integer literal has type
|
||||
~~~~
|
||||
let a = 1; // a is an int
|
||||
let b = 10i; // b is an int, due to the 'i' suffix
|
||||
let c = 100u; // c as a uint
|
||||
let c = 100u; // c is a uint
|
||||
let d = 1000i32; // d is an i32
|
||||
~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user