Guide: Change >= to > in closure

This commit is contained in:
Daniel Hofstetter 2014-10-22 16:16:05 +02:00
parent d44ea720fa
commit cb5593a448

View file

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