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

@@ -7,7 +7,7 @@ pub(crate) struct IEntity {
pub(crate) html: String,
}
intermediate!(IEntity, Entity, |registry, original| async {
intermediate!(IEntity, Entity, original, registry, {
Ok(IEntity {
html: original.html.to_owned(),
})