Auto merge of #12117 - Veykril:mexpand, r=Veykril
minor: Insert whitespace after const token when formatting macro expansions
This commit is contained in:
commit
c6995a372f
@ -88,7 +88,7 @@ pub fn insert_ws_into(syn: SyntaxNode) -> SyntaxNode {
|
|||||||
LIFETIME_IDENT if is_next(is_text, true) => {
|
LIFETIME_IDENT if is_next(is_text, true) => {
|
||||||
mods.push(do_ws(after, tok));
|
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));
|
mods.push(do_ws(after, tok));
|
||||||
}
|
}
|
||||||
T![;] => {
|
T![;] => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user