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