mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Remove FIXME comment for unreachable fallback.
This commit is contained in:
parent
e45a250f8c
commit
add33b65dd
1 changed files with 0 additions and 2 deletions
|
@ -306,8 +306,6 @@ fn inline(
|
||||||
if let Some(body) = ast::BlockExpr::cast(insert_ws_into(fn_body.syntax().clone())) {
|
if let Some(body) = ast::BlockExpr::cast(insert_ws_into(fn_body.syntax().clone())) {
|
||||||
body
|
body
|
||||||
} else {
|
} 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()
|
fn_body.clone_for_update()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue