From f060e7189b7bd1fad9f377ca27e97c9dbc4e72c2 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 23 Mar 2023 14:13:21 -0400 Subject: [PATCH] Minor cleanup. --- src/parser/parser_context.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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