mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue