mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Merge #11207
11207: Always put a space after impl in macro pretty-printing r=Veykril a=jplatte … regardless of whether the next symbol is punctuation or not. Followup to #11200. Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
This commit is contained in:
commit
c1d3b7a91a
2 changed files with 5 additions and 5 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 | DYN_KW => {
|
||||
AS_KW | DYN_KW | IMPL_KW => {
|
||||
mods.push(do_ws(after, tok));
|
||||
}
|
||||
T![;] => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue