Add intermediate lifetime.
This commit is contained in:
@@ -9,9 +9,9 @@ pub(crate) struct ISection {
|
||||
}
|
||||
|
||||
impl ISection {
|
||||
pub(crate) async fn new<'parse>(
|
||||
registry: &mut Registry<'parse>,
|
||||
section: &organic::types::Section<'parse>,
|
||||
pub(crate) async fn new<'intermediate, 'parse>(
|
||||
registry: &mut Registry<'intermediate, 'parse>,
|
||||
section: &'intermediate organic::types::Section<'parse>,
|
||||
) -> Result<ISection, CustomError> {
|
||||
let children = {
|
||||
let mut ret = Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user