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

@@ -62,9 +62,9 @@ pub(crate) enum IObject {
}
impl IObject {
pub(crate) fn new<'parse, 'b>(
registry: &'b mut Registry<'parse>,
obj: &'b organic::types::Object<'parse>,
pub(crate) fn new<'intermediate, 'parse, 'b>(
registry: &'b mut Registry<'intermediate, 'parse>,
obj: &'intermediate organic::types::Object<'parse>,
) -> BoxFuture<'b, Result<IObject, CustomError>> {
async move {
match obj {