Update 20210405 How different programming languages do the same thing.md

This commit is contained in:
lkxed 2022-05-10 17:47:15 +08:00
parent 5c520bed6f
commit a2c5f5c7d8

View File

@ -202,10 +202,10 @@ else {
Rust
```rust
_ if guess < random => println!("Too low"),
_ if guess > random => println!("Too high"),
_ => {
println!("That's right");
break;
_ if guess > random => println!("Too high"),
_ => {
println!("That's right");
break;
}
```