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
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(|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…
Add table
Add a link
Reference in a new issue