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