Add intermediate lifetime.
This commit is contained in:
@@ -56,9 +56,9 @@ pub(crate) enum IElement {
|
||||
}
|
||||
|
||||
impl IElement {
|
||||
pub(crate) fn new<'parse, 'b>(
|
||||
registry: &'b mut Registry<'parse>,
|
||||
elem: &'b organic::types::Element<'parse>,
|
||||
pub(crate) fn new<'intermediate, 'parse, 'b>(
|
||||
registry: &'b mut Registry<'intermediate, 'parse>,
|
||||
elem: &'intermediate organic::types::Element<'parse>,
|
||||
) -> BoxFuture<'b, Result<IElement, CustomError>> {
|
||||
async move {
|
||||
match elem {
|
||||
|
||||
Reference in New Issue
Block a user