Unnamed repository; edit this file 'description' to name the repository.
Remove FIXME comment for unreachable fallback.
Zachary S 2022-07-26
parent e45a250 · commit add33b6
-rw-r--r--crates/ide-assists/src/handlers/inline_call.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ide-assists/src/handlers/inline_call.rs b/crates/ide-assists/src/handlers/inline_call.rs
index 8b2f6ac75a..80d3b92559 100644
--- a/crates/ide-assists/src/handlers/inline_call.rs
+++ b/crates/ide-assists/src/handlers/inline_call.rs
@@ -306,8 +306,6 @@ fn inline(
if let Some(body) = ast::BlockExpr::cast(insert_ws_into(fn_body.syntax().clone())) {
body
} else {
- // FIXME(zachs18): I believe this should be unreachable,
- // since insert_ws_into shouldn't change the kind of the SyntaxNode.
fn_body.clone_for_update()
}
} else {