Remove intermediate lifetime.

This commit is contained in:
Tom Alexander
2023-10-29 14:14:10 -04:00
parent 6109902945
commit 645ae26701
60 changed files with 266 additions and 249 deletions

View File

@@ -7,9 +7,9 @@ use super::registry::Registry;
pub(crate) struct IComment {}
impl IComment {
pub(crate) async fn new<'intermediate, 'parse>(
registry: &mut Registry<'intermediate, 'parse>,
comment: &organic::types::Comment<'parse>,
pub(crate) async fn new<'b, 'parse>(
registry: &'b mut Registry<'parse>,
comment: &'b organic::types::Comment<'parse>,
) -> Result<IComment, CustomError> {
Ok(IComment {})
}