Rollup merge of #25112 - jsyeo:jsyeo-while-let, r=alexcrichton
The indentation in this example is messed up. The `_ => break,` line was using a tab instead of spaces to indent.
This commit is contained in:
commit
8aaafeaf79
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,
|
||||
_ => break,
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue