rollup merge of #18231 : cakebaker/fix_greater_than_forty_two_closure

This commit is contained in:
Alex Crichton 2014-10-27 09:06:39 -07:00
commit da57aa57d4

View file

@ -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!"),