mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-14 04:56:49 +00:00
commit
1acce558be
@ -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
|
||||
|
@ -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,
|
||||
|
@ -105,7 +105,7 @@ fn bar() {
|
||||
|
||||
loop {
|
||||
if true {
|
||||
break
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user