diff options
| author | Zachary S <zasample18+github@gmail.com> | 2022-07-26 10:59:19 -0500 |
|---|---|---|
| committer | Zachary S <zasample18+github@gmail.com> | 2022-07-26 10:59:19 -0500 |
| commit | add33b65dda4b59b46b5192f3a88a83b771af844 (patch) | |
| tree | ce76f763568b2d0db88416dd4f66c0f726a28714 | |
| parent | e45a250f8c26e94a2a3ff8b50305530f75718239 (diff) | |
| download | rust-add33b65dda4b59b46b5192f3a88a83b771af844.tar.gz rust-add33b65dda4b59b46b5192f3a88a83b771af844.zip | |
Remove FIXME comment for unreachable fallback.
| -rw-r--r-- | crates/ide-assists/src/handlers/inline_call.rs | 2 |
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 8b2f6ac75a2..80d3b925593 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 { |
