Skip to content

Commit 18fa6d8

Browse files
committed
book: be consistent with preceding example
1 parent ec4362d commit 18fa6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/if-let.md

+1-1
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)