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

@@ -21,10 +21,10 @@ pub(crate) struct BlogPostPage {
}
impl BlogPostPage {
pub(crate) async fn new<'intermediate, 'parse, P: Into<PathBuf>>(
pub(crate) async fn new<'b, 'parse, P: Into<PathBuf>>(
path: P,
registry: &mut Registry<'intermediate, 'parse>,
document: &'intermediate organic::types::Document<'parse>,
registry: &'b mut Registry<'parse>,
document: &'b organic::types::Document<'parse>,
) -> Result<BlogPostPage, CustomError> {
let path = path.into();
let mut children = Vec::new();