fix doc test for E0001

This commit is contained in:
Andrew Cann 2017-01-06 01:00:03 +08:00
parent 291c84aad4
commit 275c19d5b6

View File

@ -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