Add intermediate lifetime.
This commit is contained in:
@@ -8,8 +8,8 @@ pub(crate) struct IInlineSourceBlock {
|
||||
}
|
||||
|
||||
impl IInlineSourceBlock {
|
||||
pub(crate) async fn new<'parse>(
|
||||
registry: &mut Registry<'parse>,
|
||||
pub(crate) async fn new<'intermediate, 'parse>(
|
||||
registry: &mut Registry<'intermediate, 'parse>,
|
||||
original: &organic::types::InlineSourceBlock<'parse>,
|
||||
) -> Result<IInlineSourceBlock, CustomError> {
|
||||
Ok(IInlineSourceBlock {
|
||||
|
||||
Reference in New Issue
Block a user