mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Add whitespace b/w lifetime and mut in expansion
This commit is contained in:
parent
6b10decb20
commit
a3661b3900
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ fn insert_whitespaces(syn: SyntaxNode) -> String {
|
|||
res.push_str("}\n");
|
||||
res.extend(iter::repeat(" ").take(2 * indent));
|
||||
}
|
||||
LIFETIME_IDENT if is_next(|it| it == IDENT, true) => {
|
||||
LIFETIME_IDENT if is_next(|it| it == IDENT || it == MUT_KW, true) => {
|
||||
res.push_str(token.text());
|
||||
res.push(' ');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue