book: be consistent with preceding example
This commit is contained in:
parent
ec4362da56
commit
18fa6d8dbc
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ loop as long as a value matches a certain pattern. It turns code like this:
|
|||
loop {
|
||||
match option {
|
||||
Some(x) => println!("{}", x),
|
||||
_ => break,
|
||||
None => break,
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue