diff options
author | Aleksey Kladov <[email protected]> | 2018-08-04 15:17:20 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-04 15:17:20 +0100 |
commit | e4b84fbf36d04e54f68f914f724c8e804233d3aa (patch) | |
tree | 3e38d49ae28b0600c8c17de9488e7de77d8f9cec /src/algo | |
parent | 82efdff34bf24680bef58eca399ec3f20748a96a (diff) |
Assignment expression
Diffstat (limited to 'src/algo')
-rw-r--r-- | src/algo/walk.rs | 1 |
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)] |
10 | pub enum WalkEvent<'a> { | 11 | pub enum WalkEvent<'a> { |
11 | Enter(SyntaxNodeRef<'a>), | 12 | Enter(SyntaxNodeRef<'a>), |