From 5afb42ad89abb518a01a09051f0f9b6f75bd383e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 9 Jun 2021 00:37:13 +0200 Subject: Lists with indent-based parsing - Unordered lists with indent-based parsing and basic layout using stacks - Headings are now also indent based - Removes syntax functions since they will be superseded by select & transform --- src/eval/scope.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/eval/scope.rs') diff --git a/src/eval/scope.rs b/src/eval/scope.rs index e5afb6b0..3f7c4c62 100644 --- a/src/eval/scope.rs +++ b/src/eval/scope.rs @@ -33,8 +33,7 @@ impl<'a> Scopes<'a> { /// Exit the topmost scope. /// - /// # Panics - /// Panics if no scope was entered. + /// This panics if no scope was entered. pub fn exit(&mut self) { self.top = self.scopes.pop().expect("no pushed scope"); } -- cgit v1.2.3