Skip to content

Commit cb5593a

Browse files
committed
Guide: Change >= to > in closure
1 parent d44ea72 commit cb5593a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4347,7 +4347,7 @@ is one:
43474347

43484348
```{rust}
43494349
let greater_than_forty_two = range(0i, 100i)
4350-
.find(|x| *x >= 42);
4350+
.find(|x| *x > 42);
43514351
43524352
match greater_than_forty_two {
43534353
Some(_) => println!("We got some numbers!"),

0 commit comments

Comments
 (0)