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:
Steve Klabnik 2015-05-05 16:56:01 -04:00
commit 8aaafeaf79

View file

@ -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,
}
}
```