Skip to content

Commit d0b0ce8

Browse files
committed
change test highlighting dedent level
1 parent 0f29caf commit d0b0ce8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

crates/ide-completion/src/completions/postfix.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,9 @@ fn foo(x: Option<i32>, y: Option<i32>) {
16581658
let _f = || {
16591659
x
16601660
.and(y)
1661-
.map(|it| it+2)
1661+
.map(|it| {
1662+
it+2
1663+
})
16621664
.$0
16631665
};
16641666
}
@@ -1668,7 +1670,9 @@ fn foo(x: Option<i32>, y: Option<i32>) {
16681670
let _f = || {
16691671
let $0 = x
16701672
.and(y)
1671-
.map(|it| it+2);
1673+
.map(|it| {
1674+
it+2
1675+
});
16721676
};
16731677
}
16741678
"#,

0 commit comments

Comments
 (0)