Always put a space after dyn
in macro pretty-printing
… regardless of whether the next symbol is punctuation or not. Fixes issue 11100.
This commit is contained in:
parent
f5b789b1dc
commit
b8f4667aa9
@ -88,7 +88,7 @@ pub fn insert_ws_into(syn: SyntaxNode) -> SyntaxNode {
|
||||
LIFETIME_IDENT if is_next(|it| is_text(it), true) => {
|
||||
mods.push(do_ws(after, tok));
|
||||
}
|
||||
AS_KW => {
|
||||
AS_KW | DYN_KW => {
|
||||
mods.push(do_ws(after, tok));
|
||||
}
|
||||
T![;] => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user