Implement clone for the context.

This commit is contained in:
Tom Alexander
2022-12-03 21:35:30 -05:00
parent b91e4df797
commit dff528da32
5 changed files with 26 additions and 7 deletions

View File

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