Skip to content

Commit 900d603

Browse files
committed
fix: remove useless returns
1 parent 3d70ba7 commit 900d603

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/flycheck/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ impl CargoActor {
485485

486486
error.push_str(line);
487487
error.push('\n');
488-
return false;
488+
false
489489
};
490490
let output = streaming_output(
491491
self.stdout,

crates/parser/src/grammar/expressions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ fn postfix_expr(
417417
allow_calls = true;
418418
block_like = BlockLike::NotBlock;
419419
}
420-
return (lhs, block_like);
420+
(lhs, block_like)
421421
}
422422

423423
fn postfix_dot_expr<const FLOAT_RECOVERY: bool>(

0 commit comments

Comments
 (0)