Four spaces indent, rephrasing

This commit is contained in:
Johann 2015-05-11 02:40:02 +02:00
parent 770f0e95a1
commit 6a19046423

View file

@ -3066,12 +3066,15 @@ block will execute, otherwise flow proceeds to the first `else` block that follo
```
let dish = ("Ham", "Eggs");
if let ("Bacon", b) = dish { // will not execute because let is refuted
println!("Bacon is served with {}", b);
// this body will be skipped because the pattern is refuted
if let ("Bacon", b) = dish {
println!("Bacon is served with {}", b);
}
if let ("Ham", b) = dish { // will execute
println!("Ham is served with {}", b);
// this body will execute
if let ("Ham", b) = dish {
println!("Ham is served with {}", b);
}
```