Implement two todo!()s.

This commit is contained in:
Tom Alexander 2022-12-11 00:02:13 -05:00
parent fa1d845b76
commit 7cb85fc8af
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -28,8 +28,8 @@ impl<'r, 's> ContextTree<'r, 's> {
} }
pub fn pop_front(&mut self) -> (Option<ContextElement<'r, 's>>, ContextTree<'r, 's>) { pub fn pop_front(&mut self) -> (Option<ContextElement<'r, 's>>, ContextTree<'r, 's>) {
// todo let (popped_element, remaining) = self.tree.pop_front();
todo!() (popped_element, ContextTree { tree: remaining })
} }
pub fn check_fail_matcher<'b>( pub fn check_fail_matcher<'b>(
@ -66,7 +66,7 @@ impl<'r, 's> ContextTree<'r, 's> {
} }
}; };
} }
ContextElement::PreviousElementNode(_) => todo!(), ContextElement::PreviousElementNode(_) => {}
}; };
current_node = current_node.without_front(); current_node = current_node.without_front();