mirror of https://github.com/rust-lang/rust.git
commit
a514058e13
|
@ -41,7 +41,7 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
// Collaspe `else { if .. }` to `else if ..`
|
||||
// Collapse `else { if .. }` to `else if ..`
|
||||
if x == "hello" {
|
||||
print!("Hello ");
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue