Remove intermediate lifetime.
This commit is contained in:
@@ -9,9 +9,9 @@ pub(crate) struct IParagraph {
|
||||
}
|
||||
|
||||
impl IParagraph {
|
||||
pub(crate) async fn new<'intermediate, 'parse>(
|
||||
registry: &mut Registry<'intermediate, 'parse>,
|
||||
original: &'intermediate organic::types::Paragraph<'parse>,
|
||||
pub(crate) async fn new<'b, 'parse>(
|
||||
registry: &'b mut Registry<'parse>,
|
||||
original: &'b organic::types::Paragraph<'parse>,
|
||||
) -> Result<IParagraph, CustomError> {
|
||||
let children = {
|
||||
let mut ret = Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user