Cleanup.
This commit is contained in:
@@ -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>),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user