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