Fix indentation in while-let example

This commit is contained in:
Jason Yeo 2015-05-05 12:02:18 +08:00
parent 435622028f
commit 0476586643

View file

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