Skip to content

Commit 3ad00c7

Browse files
committed
Rollup merge of rust-lang#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.
2 parents 56955e5 + 0476586 commit 3ad00c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/if-let.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ loop as long as a value matches a certain pattern. It turns code like this:
6565
loop {
6666
match option {
6767
Some(x) => println!("{}", x),
68-
_ => break,
68+
_ => break,
6969
}
7070
}
7171
```

0 commit comments

Comments
 (0)