mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-24 16:10:25 +08:00
Fix typo in 'conditions'
This commit is contained in:
parent
ba94ced602
commit
9913ed0636
@ -122,7 +122,7 @@ Running this will print "number was something other than zero".
|
||||
|
||||
#### Multiple Conditions with `else if`
|
||||
|
||||
We can have multiple coniditions by combining `if` and `else` in an `else if`
|
||||
We can have multiple conditions by combining `if` and `else` in an `else if`
|
||||
expression. For example:
|
||||
|
||||
Filename: src/main.rs
|
||||
|
Loading…
Reference in New Issue
Block a user