Add intermediate lifetime.

This commit is contained in:
Tom Alexander
2023-10-29 12:15:07 -04:00
parent 52ca300de3
commit cb7c28c1ae
59 changed files with 140 additions and 140 deletions

View File

@@ -10,9 +10,9 @@ pub(crate) struct IRegularLink {
}
impl IRegularLink {
pub(crate) async fn new<'parse>(
registry: &mut Registry<'parse>,
original: &organic::types::RegularLink<'parse>,
pub(crate) async fn new<'intermediate, 'parse>(
registry: &mut Registry<'intermediate, 'parse>,
original: &'intermediate organic::types::RegularLink<'parse>,
) -> Result<IRegularLink, CustomError> {
let children = {
let mut ret = Vec::new();