Remove intermediate lifetime.
This commit is contained in:
@@ -8,9 +8,9 @@ pub(crate) struct IEntity {
|
||||
}
|
||||
|
||||
impl IEntity {
|
||||
pub(crate) async fn new<'intermediate, 'parse>(
|
||||
registry: &mut Registry<'intermediate, 'parse>,
|
||||
original: &organic::types::Entity<'parse>,
|
||||
pub(crate) async fn new<'b, 'parse>(
|
||||
registry: &'b mut Registry<'parse>,
|
||||
original: &'b organic::types::Entity<'parse>,
|
||||
) -> Result<IEntity, CustomError> {
|
||||
Ok(IEntity {
|
||||
html: original.html.to_owned(),
|
||||
|
||||
Reference in New Issue
Block a user