Fix error index example

This commit is contained in:
Matthew Jasper 2019-02-09 20:35:34 +00:00
parent fcfeb06817
commit 90f40cd0fb

View File

@ -1978,8 +1978,8 @@ fn main() {
let mut x = Some(0);
match x {
None => (),
Some(v) if { x = None; false } => (),
Some(_) => (), // No longer matches
Some(_) if { x = None; false } => (),
Some(v) => (), // No longer matches
}
```