Auto merge of #12117 - Veykril:mexpand, r=Veykril

minor: Insert whitespace after const token when formatting macro expansions
This commit is contained in:
bors 2022-04-29 12:07:52 +00:00
commit c6995a372f

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![;] => {