Avoid closures for the intermediate macro.
This commit is contained in:
@@ -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(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user