Skip to content

Commit ef2eabb

Browse files
committed
Tidy formatted
1 parent d513b4c commit ef2eabb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/hir-expand/src/fixup.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,14 @@ pub(crate) fn fixup_syntax(node: &SyntaxNode) -> SyntaxFixups {
263263
};
264264

265265
let [pat, in_token, iter] = [
266-
(SyntaxKind::UNDERSCORE, "_"),
267-
(SyntaxKind::IN_KW, "in"),
266+
(SyntaxKind::UNDERSCORE, "_"),
267+
(SyntaxKind::IN_KW, "in"),
268268
(SyntaxKind::IDENT, "__ra_fixup")
269269
].map(|(kind, text)| SyntheticToken { kind, text: text.into(), range: end_range, id: EMPTY_ID});
270270

271271
if it.pat().is_none() && it.in_token().is_none() && it.iterable().is_none() {
272272
append.insert(for_token.into(), vec![pat, in_token, iter]);
273-
}
273+
}
274274

275275
// Tricky: add logic to add in just a pattern or iterable if not all
276276
// the pieces are missing

0 commit comments

Comments
 (0)