diff options
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/expand_macro.rs | 2 |
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, |