Skip to content

Commit df85ee0

Browse files
committed
minor: Insert whitespace after const token when formatting macro expansions
1 parent 1b12021 commit df85ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide_db/src/syntax_helpers/insert_whitespace_into_node.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub fn insert_ws_into(syn: SyntaxNode) -> SyntaxNode {
8888
LIFETIME_IDENT if is_next(is_text, true) => {
8989
mods.push(do_ws(after, tok));
9090
}
91-
AS_KW | DYN_KW | IMPL_KW => {
91+
AS_KW | DYN_KW | IMPL_KW | CONST_KW => {
9292
mods.push(do_ws(after, tok));
9393
}
9494
T![;] => {

0 commit comments

Comments
 (0)