Fix typo
This commit is contained in:
parent
d6227dcd6e
commit
99d2552c4e
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ variable. This error can occur for several cases, the most common of which is
|
|||
that there is a mismatch in the expected type that the compiler inferred, and
|
||||
the actual type that the user defined a variable as.
|
||||
|
||||
let a: char = 7; // An integral type can't contained in a character, so
|
||||
let a: char = 7; // An integral type can't be contained in a character, so
|
||||
// there is a mismatch.
|
||||
|
||||
let b: u32 = 7; // Either use the right type...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue