Avoid closures for the intermediate macro.

This commit is contained in:
Tom Alexander
2023-10-29 18:35:42 -04:00
parent 3d44d20384
commit 24b9782146
16 changed files with 40 additions and 51 deletions

View File

@@ -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() {