mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 00:13:02 +00:00
added semicolons for return statements
This commit is contained in:
parent
af00f3ffe6
commit
7f1fbea8e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user