aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-29 12:52:56 +0000
committerGitHub <[email protected]>2020-02-29 12:52:56 +0000
commit0ec7f760fcd8bb9c2273e004468faa2a8cbeb29d (patch)
tree8ad45f841ffa0648b29fb143c3de0b59bde400fb /crates/ra_ide
parentb53ff214aa9fe30eeedb64f78cc89561060c0083 (diff)
parent9abcab16693ac5e162c4ed28c4373ed6bd507380 (diff)
Merge #3375
3375: Cleanup editing API a bit r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/expand_macro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/expand_macro.rs b/crates/ra_ide/src/expand_macro.rs
index f2814e684..5a079de27 100644
--- a/crates/ra_ide/src/expand_macro.rs
+++ b/crates/ra_ide/src/expand_macro.rs
@@ -52,7 +52,7 @@ fn expand_macro_recur(
52 } 52 }
53 } 53 }
54 54
55 Some(replace_descendants(&expanded, &|n| replaces.get(n).cloned())) 55 Some(replace_descendants(&expanded, |n| replaces.get(n).cloned()))
56} 56}
57 57
58// FIXME: It would also be cool to share logic here and in the mbe tests, 58// FIXME: It would also be cool to share logic here and in the mbe tests,