Cleanup editing API

This commit is contained in:
Aleksey Kladov 2020-02-29 13:49:43 +01:00
parent b53ff214aa
commit 5f8b37563e
5 changed files with 36 additions and 12 deletions

View file

@ -52,7 +52,7 @@ fn expand_macro_recur(
}
}
Some(replace_descendants(&expanded, &|n| replaces.get(n).cloned()))
Some(replace_descendants(&expanded, |n| replaces.get(n).cloned()))
}
// FIXME: It would also be cool to share logic here and in the mbe tests,