print! for both

This commit is contained in:
JirCep 2022-10-22 22:47:00 +02:00
parent 3e2e5214f4
commit e4881ec331
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ arms exhaustiveness anymore when match guard expressions are involved.
```rust
match Some(100) {
Some(_) if true => print!("Got Some"),
None => println!("Got None")
None => print!("Got None")
}
```
This `match` expression involves compilation error.