Add whitespace b/w lifetime and mut in expansion
This commit is contained in:
parent
6b10decb20
commit
a3661b3900
@ -159,7 +159,7 @@ fn insert_whitespaces(syn: SyntaxNode) -> String {
|
|||||||
res.push_str("}\n");
|
res.push_str("}\n");
|
||||||
res.extend(iter::repeat(" ").take(2 * indent));
|
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_str(token.text());
|
||||||
res.push(' ');
|
res.push(' ');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user