aboutsummaryrefslogtreecommitdiff
path: root/src/algo
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-04 15:17:20 +0100
committerAleksey Kladov <[email protected]>2018-08-04 15:17:20 +0100
commite4b84fbf36d04e54f68f914f724c8e804233d3aa (patch)
tree3e38d49ae28b0600c8c17de9488e7de77d8f9cec /src/algo
parent82efdff34bf24680bef58eca399ec3f20748a96a (diff)
Assignment expression
Diffstat (limited to 'src/algo')
-rw-r--r--src/algo/walk.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/algo/walk.rs b/src/algo/walk.rs
index ad0f2d8fb..a50ec2a09 100644
--- a/src/algo/walk.rs
+++ b/src/algo/walk.rs
@@ -6,6 +6,7 @@ pub fn preorder<'a>(root: SyntaxNodeRef<'a>) -> impl Iterator<Item = SyntaxNodeR
6 WalkEvent::Exit(_) => None, 6 WalkEvent::Exit(_) => None,
7 }) 7 })
8} 8}
9
9#[derive(Debug, Copy, Clone)] 10#[derive(Debug, Copy, Clone)]
10pub enum WalkEvent<'a> { 11pub enum WalkEvent<'a> {
11 Enter(SyntaxNodeRef<'a>), 12 Enter(SyntaxNodeRef<'a>),