Add intermediate lifetime.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user