diff --git a/src/parser/parser_context.rs b/src/parser/parser_context.rs index ae3ae60..44fc9e1 100644 --- a/src/parser/parser_context.rs +++ b/src/parser/parser_context.rs @@ -84,10 +84,7 @@ impl<'r, 's> ContextTree<'r, 's> { } }; } - ContextElement::PreviousElementNode(_) => {} - ContextElement::StartOfParagraph => {} - ContextElement::Context(_) => {} - ContextElement::ListItem(_) => {} + _ => {} }; } // TODO: Make this a specific error instead of just a generic MyError