Avoid closures for the intermediate macro.
This commit is contained in:
@@ -9,7 +9,7 @@ pub(crate) struct IRegularLink {
|
||||
pub(crate) children: Vec<IObject>,
|
||||
}
|
||||
|
||||
intermediate!(IRegularLink, RegularLink, |registry, original| async {
|
||||
intermediate!(IRegularLink, RegularLink, original, registry, {
|
||||
let children = {
|
||||
let mut ret = Vec::new();
|
||||
for obj in original.children.iter() {
|
||||
|
||||
Reference in New Issue
Block a user