This commit is contained in:
Tom Alexander
2023-04-03 15:15:16 -04:00
parent b65ed28462
commit 2d1df18544
8 changed files with 7 additions and 48 deletions

View File

@@ -8,7 +8,6 @@ use super::error::MyError;
use super::error::Res;
use super::list::List;
use super::list::Node;
use super::util::always_fail;
use super::Context;
type Matcher = dyn for<'r, 's> Fn(Context<'r, 's>, &'s str) -> Res<&'s str, &'s str>;
@@ -139,7 +138,8 @@ pub struct ExitMatcherNode<'r> {
#[derive(Clone)]
pub enum ChainBehavior<'r> {
AndParent(Option<&'r Matcher>),
#[allow(dead_code)]
#[allow(dead_code)] // Will be used when inside code/quote blocks
IgnoreParent(Option<&'r Matcher>),
}