Merge pull request #453 from gsvolt/issue353

Issue353
This commit is contained in:
Nick Cameron 2015-10-13 20:16:43 +13:00
commit 1acce558be
3 changed files with 3 additions and 3 deletions

View File

@ -812,7 +812,7 @@ fn rewrite_match(context: &RewriteContext,
fn arm_start_pos(arm: &ast::Arm) -> BytePos {
let &ast::Arm { ref attrs, ref pats, .. } = arm;
if !attrs.is_empty() {
return attrs[0].span.lo
return attrs[0].span.lo;
}
pats[0].span.lo

View File

@ -70,7 +70,7 @@ fn bar() {
let bar = 5 ;
let nonsense = (10 .. 0)..(0..10);
loop{if true {break}}
loop{if true {break;}}
let x = (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa &&
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,

View File

@ -105,7 +105,7 @@ fn bar() {
loop {
if true {
break
break;
}
}