mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
rename
This commit is contained in:
parent
8234a85d15
commit
f5cfc0504e
2 changed files with 19 additions and 20 deletions
|
@ -59,7 +59,7 @@ pub(crate) mod entry {
|
|||
}
|
||||
|
||||
pub(crate) fn stmt(p: &mut Parser) {
|
||||
expressions::stmt(p, expressions::StmtWithSemi::No);
|
||||
expressions::stmt(p, expressions::Semicolon::Forbidden);
|
||||
}
|
||||
|
||||
pub(crate) fn pat(p: &mut Parser) {
|
||||
|
@ -103,7 +103,7 @@ pub(crate) mod entry {
|
|||
continue;
|
||||
}
|
||||
|
||||
expressions::stmt(p, expressions::StmtWithSemi::Optional);
|
||||
expressions::stmt(p, expressions::Semicolon::Optional);
|
||||
}
|
||||
|
||||
m.complete(p, MACRO_STMTS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue