Add intermediate lifetime.
This commit is contained in:
@@ -8,8 +8,8 @@ pub(crate) struct ISrcBlock {
|
||||
}
|
||||
|
||||
impl ISrcBlock {
|
||||
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::SrcBlock<'parse>,
|
||||
) -> Result<ISrcBlock, CustomError> {
|
||||
let lines = original
|
||||
|
||||
Reference in New Issue
Block a user