mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
fix: remove useless return
s
This commit is contained in:
parent
3d70ba7f94
commit
900d6030e7
2 changed files with 2 additions and 2 deletions
|
@ -485,7 +485,7 @@ impl CargoActor {
|
||||||
|
|
||||||
error.push_str(line);
|
error.push_str(line);
|
||||||
error.push('\n');
|
error.push('\n');
|
||||||
return false;
|
false
|
||||||
};
|
};
|
||||||
let output = streaming_output(
|
let output = streaming_output(
|
||||||
self.stdout,
|
self.stdout,
|
||||||
|
|
|
@ -417,7 +417,7 @@ fn postfix_expr(
|
||||||
allow_calls = true;
|
allow_calls = true;
|
||||||
block_like = BlockLike::NotBlock;
|
block_like = BlockLike::NotBlock;
|
||||||
}
|
}
|
||||||
return (lhs, block_like);
|
(lhs, block_like)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn postfix_dot_expr<const FLOAT_RECOVERY: bool>(
|
fn postfix_dot_expr<const FLOAT_RECOVERY: bool>(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue