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.
1 parent 7bcf250 commit 21ee875Copy full SHA for 21ee875
src/tools/rust-analyzer/crates/ide/src/inlay_hints/closure_ret.rs
@@ -48,7 +48,6 @@ pub(super) fn hints(
48
if arrow.is_none() {
49
label.prepend_str(" -> ");
50
}
51
- // FIXME?: We could provide text edit to insert braces for closures with non-block body.
52
let text_edit = if has_block_body {
53
ty_to_text_edit(
54
sema,
0 commit comments