mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Cleanup editing API
This commit is contained in:
parent
b53ff214aa
commit
5f8b37563e
5 changed files with 36 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue