Skip to content

Commit 55e2a47

Browse files
committed
Reformat
1 parent c23a251 commit 55e2a47

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/parser/event_parser/grammar/items/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ pub(super) fn mod_contents(p: &mut Parser, stop_on_r_curly: bool) {
99
}
1010
}
1111

12-
pub(super) const ITEM_FIRST: TokenSet =
13-
token_set![EXTERN_KW, MOD_KW, USE_KW, STRUCT_KW, ENUM_KW, FN_KW, PUB_KW, POUND];
12+
pub(super) const ITEM_FIRST: TokenSet = token_set![
13+
EXTERN_KW, MOD_KW, USE_KW, STRUCT_KW, ENUM_KW, FN_KW, PUB_KW, POUND
14+
];
1415

1516
fn item(p: &mut Parser) {
1617
let item = p.start();

src/parser/event_parser/grammar/items/structs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub(super) fn enum_item(p: &mut Parser) {
5959
p.bump();
6060
expressions::expr(p);
6161
}
62-
_ => ()
62+
_ => (),
6363
}
6464
var.complete(p, ENUM_VARIANT);
6565
} else {

src/tree/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ fn has_short_text(kind: SyntaxKind) -> bool {
118118
use syntax_kinds::*;
119119
match kind {
120120
IDENT | LIFETIME => true,
121-
_ => false
121+
_ => false,
122122
}
123123
}
124124

0 commit comments

Comments
 (0)