diff --git a/src/parser/nom_context.rs b/src/parser/nom_context.rs index f68d010..fb4185e 100644 --- a/src/parser/nom_context.rs +++ b/src/parser/nom_context.rs @@ -98,15 +98,6 @@ impl<'r> ContextTree<'r, dyn OrgModeContext<'r>> { ErrorKind::ManyTill, ))); } - - pub fn with_additional_fail_matcher( - &'r self, - fail_matcher: &'r Matcher, - ) -> OrgModeContextTree<'r> { - self.with_additional_node(FailMatcherNode { - fail_matcher: ChainBehavior::AndParent(Some(fail_matcher)), - }) - } } impl<'r> OrgModeContext<'r> for FailMatcherNode<'r> {