mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Run cargo fmt
This commit is contained in:
parent
8318035726
commit
7e285e1ef5
35 changed files with 190 additions and 45 deletions
|
@ -19,7 +19,10 @@ pub(super) fn expr(p: &mut Parser<'_>) -> bool {
|
|||
expr_bp(p, None, r, 1).is_some()
|
||||
}
|
||||
|
||||
pub(super) fn expr_stmt(p: &mut Parser<'_>, m: Option<Marker>) -> Option<(CompletedMarker, BlockLike)> {
|
||||
pub(super) fn expr_stmt(
|
||||
p: &mut Parser<'_>,
|
||||
m: Option<Marker>,
|
||||
) -> Option<(CompletedMarker, BlockLike)> {
|
||||
let r = Restrictions { forbid_structs: false, prefer_stmt: true };
|
||||
expr_bp(p, m, r, 1)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue