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