mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
minor: Insert whitespace after const token when formatting macro expansions
This commit is contained in:
@@ -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![;] => {
|
||||
|
||||
Reference in New Issue
Block a user