Skip to content

Commit

Permalink
ignore,does_not_compile
Browse files Browse the repository at this point in the history
  • Loading branch information
deep-outcome committed Oct 22, 2022
1 parent e4881ec commit 7f49519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch18-03-pattern-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ the match guard gives us the ability to express this logic. The downside of
this additional expressiveness is that the compiler is not smart enough about
arms exhaustiveness anymore when match guard expressions are involved.

```rust
```rust,ignore,does_not_compile
match Some(100) {
Some(_) if true => print!("Got Some"),
None => print!("Got None")
Expand Down

0 comments on commit 7f49519

Please sign in to comment.