diff options
Diffstat (limited to 'src/directive/mod.rs')
-rw-r--r-- | src/directive/mod.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/directive/mod.rs b/src/directive/mod.rs index 89b5b8a..e33f572 100644 --- a/src/directive/mod.rs +++ b/src/directive/mod.rs @@ -14,7 +14,6 @@ pub enum Directive { QuotedArg, MultilineArg, - BrokenLinks(BrokenLinks), Calendar(Calendar), Format(Format), Graph(Graph), @@ -65,15 +64,6 @@ impl TryFrom<&ParsedDirective> for Directive { Directive::MultilineArg } - "brokenlinks" => { - Self::check_args( - p, - BrokenLinks::REQUIRED, - BrokenLinks::ALLOWED, - BrokenLinks::ALLOW_ANY_UNNAMED, - )?; - Directive::BrokenLinks(BrokenLinks::from(p)) - } "calendar" => { Self::check_args( p, @@ -223,7 +213,6 @@ impl Directive { | Self::MultilineArg => { panic!("directive {:?} may only be used in parsing tests", self) } - Self::BrokenLinks(x) => x.process(site, meta), Self::Calendar(x) => x.process(site, meta), Self::Format(x) => x.process(site, meta), Self::Graph(x) => x.process(site, meta), @@ -242,9 +231,6 @@ impl Directive { } } -mod brokenlinks; -use brokenlinks::BrokenLinks; - mod format; use format::Format; |