Skip to content

Commit 0d96b54

Browse files
committed
Rollup merge of #29060 - tshepang:consistency, r=nikomatsakis
2 parents 40578d2 + 18fa6d8 commit 0d96b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/if-let.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ loop as long as a value matches a certain pattern. It turns code like this:
6565
loop {
6666
match option {
6767
Some(x) => println!("{}", x),
68-
_ => break,
68+
None => break,
6969
}
7070
}
7171
```

0 commit comments

Comments
 (0)