Add intermediate lifetime.
This commit is contained in:
@@ -6,8 +6,8 @@ use super::registry::Registry;
|
||||
pub(crate) struct IAngleLink {}
|
||||
|
||||
impl IAngleLink {
|
||||
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::AngleLink<'parse>,
|
||||
) -> Result<IAngleLink, CustomError> {
|
||||
Ok(IAngleLink {})
|
||||
|
||||
Reference in New Issue
Block a user