rollup merge of #18231 : cakebaker/fix_greater_than_forty_two_closure
This commit is contained in:
commit
da57aa57d4
@ -4387,7 +4387,7 @@ is one:
|
||||
|
||||
```{rust}
|
||||
let greater_than_forty_two = range(0i, 100i)
|
||||
.find(|x| *x >= 42);
|
||||
.find(|x| *x > 42);
|
||||
|
||||
match greater_than_forty_two {
|
||||
Some(_) => println!("We got some numbers!"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user