We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f29caf commit d0b0ce8Copy full SHA for d0b0ce8
1 file changed
crates/ide-completion/src/completions/postfix.rs
@@ -1658,7 +1658,9 @@ fn foo(x: Option<i32>, y: Option<i32>) {
1658
let _f = || {
1659
x
1660
.and(y)
1661
- .map(|it| it+2)
+ .map(|it| {
1662
+ it+2
1663
+ })
1664
.$0
1665
};
1666
}
@@ -1668,7 +1670,9 @@ fn foo(x: Option<i32>, y: Option<i32>) {
1668
1670
1669
1671
let $0 = x
1672
-.map(|it| it+2);
1673
+.map(|it| {
1674
1675
+});
1676
1677
1678
"#,
0 commit comments