added semicolons for return statements

This commit is contained in:
Gaurav Saxena 2015-10-13 02:22:35 -04:00
parent af00f3ffe6
commit 7f1fbea8e9

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