mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 10:55:14 +00:00
fix doc test for E0001
This commit is contained in:
parent
291c84aad4
commit
275c19d5b6
@ -27,7 +27,7 @@ one is too specific or the ordering is incorrect.
|
||||
|
||||
For example, the following `match` block has too many arms:
|
||||
|
||||
```compile_fail,E0001
|
||||
```
|
||||
match Some(0) {
|
||||
Some(bar) => {/* ... */}
|
||||
x => {/* ... */} // This handles the `None` case
|
||||
|
Loading…
Reference in New Issue
Block a user