minor: Insert whitespace after const token when formatting macro expansions

This commit is contained in:
Lukas Wirth 2022-04-29 14:07:19 +02:00
parent 1b120216de
commit df85ee05e3

View File

@ -88,7 +88,7 @@ pub fn insert_ws_into(syn: SyntaxNode) -> SyntaxNode {
LIFETIME_IDENT if is_next(is_text, true) => {
mods.push(do_ws(after, tok));
}
AS_KW | DYN_KW | IMPL_KW => {
AS_KW | DYN_KW | IMPL_KW | CONST_KW => {
mods.push(do_ws(after, tok));
}
T![;] => {