Fix error index example
This commit is contained in:
parent
fcfeb06817
commit
90f40cd0fb
@ -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
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user