Standardize the construction of intermediate BlogPostPage.
This commit is contained in:
@@ -7,8 +7,14 @@ pub(crate) struct IInlineSourceBlock {
|
||||
pub(crate) value: String,
|
||||
}
|
||||
|
||||
intermediate!(IInlineSourceBlock, InlineSourceBlock, original, _registry, {
|
||||
Ok(IInlineSourceBlock {
|
||||
value: original.value.to_owned(),
|
||||
})
|
||||
});
|
||||
intermediate!(
|
||||
IInlineSourceBlock,
|
||||
&'orig organic::types::InlineSourceBlock<'parse>,
|
||||
original,
|
||||
_registry,
|
||||
{
|
||||
Ok(IInlineSourceBlock {
|
||||
value: original.value.to_owned(),
|
||||
})
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user