We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa133d0 + 4efc2a9 commit 5ae9847Copy full SHA for 5ae9847
crates/ide-db/src/syntax_helpers/insert_whitespace_into_node.rs
@@ -88,6 +88,9 @@ pub fn insert_ws_into(syn: SyntaxNode) -> SyntaxNode {
88
LIFETIME_IDENT if is_next(is_text, true) => {
89
mods.push(do_ws(after, tok));
90
}
91
+ MUT_KW if is_next(|it| it == SELF_KW, false) => {
92
+ mods.push(do_ws(after, tok));
93
+ }
94
AS_KW | DYN_KW | IMPL_KW | CONST_KW => {
95
96
0 commit comments