aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-29 12:49:43 +0000
committerAleksey Kladov <[email protected]>2020-02-29 12:51:23 +0000
commit5f8b37563e6d82872a18afaf4d9ca25a4ebefac0 (patch)
treeaccb6a6100600ef9473dd2cbeeb2b3baa7229c70 /crates/ra_ide/src
parentb53ff214aa9fe30eeedb64f78cc89561060c0083 (diff)
Cleanup editing API
Diffstat (limited to 'crates/ra_ide/src')
-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,