mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Add whitespace b/w lifetime and mut in expansion
This commit is contained in:
@@ -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(' ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user