Avoid closures for the intermediate macro.
This commit is contained in:
@@ -9,7 +9,9 @@ pub(crate) struct IFootnoteDefinition {}
|
||||
intermediate!(
|
||||
IFootnoteDefinition,
|
||||
FootnoteDefinition,
|
||||
|registry, original| async {
|
||||
original,
|
||||
registry,
|
||||
{
|
||||
registry
|
||||
.register_footnote_definition(original.label, &original.children)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user