rollup merge of #18231 : cakebaker/fix_greater_than_forty_two_closure
This commit is contained in:
commit
da57aa57d4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue