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