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 ISrcBlock {
pub(crate) lines: Vec<String>,
}
intermediate!(ISrcBlock, SrcBlock, |registry, original| async {
intermediate!(ISrcBlock, SrcBlock, original, registry, {
let lines = original
.contents
.split_inclusive('\n')