Attempt to put two lifetimes in the context.

This commit is contained in:
Tom Alexander
2022-12-10 23:49:02 -05:00
parent 75ab876b0b
commit 7d40b8ae24
3 changed files with 28 additions and 25 deletions

View File

@@ -5,4 +5,4 @@ mod text;
mod text_element_parser;
mod token;
pub use text_element_parser::document;
type Context<'r> = &'r nom_context::ContextTree<'r>;
type Context<'r, 's> = &'r nom_context::ContextTree<'r, 's>;