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

@@ -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 {