mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
fix doc test for E0001
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
For example, the following `match` block has too many arms:
|
||||
|
||||
```compile_fail,E0001
|
||||
```
|
||||
match Some(0) {
|
||||
Some(bar) => {/* ... */}
|
||||
x => {/* ... */} // This handles the `None` case
|
||||
|
||||
Reference in New Issue
Block a user