diff --git a/src/parser/new_context.rs b/src/parser/new_context.rs index 12888ef0..da5c8d91 100644 --- a/src/parser/new_context.rs +++ b/src/parser/new_context.rs @@ -12,15 +12,15 @@ pub trait OrgModeContext<'r> { // todo } -pub struct FailMatcherNode<'r> { - pub fail_matcher: ChainBehavior<'r>, +struct FailMatcherNode<'r> { + fail_matcher: ChainBehavior<'r>, } -pub struct PreviousElementNode<'r> { - pub dummy: &'r str, +struct PreviousElementNode<'r> { + dummy: &'r str, } -pub enum ChainBehavior<'r> { +enum ChainBehavior<'r> { AndParent(Option<&'r Matcher>), IgnoreParent(Option<&'r Matcher>), }