Fix indentation in while-let example
This commit is contained in:
parent
435622028f
commit
0476586643
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 {
|
loop {
|
||||||
match option {
|
match option {
|
||||||
Some(x) => println!("{}", x),
|
Some(x) => println!("{}", x),
|
||||||
_ => break,
|
_ => break,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue