summaryrefslogtreecommitdiff
path: root/dhall/src/syntax/ast/visitor.rs
diff options
context:
space:
mode:
authorNadrieril2019-12-27 15:15:08 +0000
committerNadrieril2020-01-17 10:06:00 +0000
commit8e2da26650e202f9ccb1531fc8a88cfd89e54b6d (patch)
tree142391d96492be8268cbd32946699053cac076d7 /dhall/src/syntax/ast/visitor.rs
parent8edbeadbd0dc06a75ffb8bf3b0a54a62e3acc5fc (diff)
Implement traverse_ref for ValueKind
Diffstat (limited to 'dhall/src/syntax/ast/visitor.rs')
-rw-r--r--dhall/src/syntax/ast/visitor.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/dhall/src/syntax/ast/visitor.rs b/dhall/src/syntax/ast/visitor.rs
index 424048b..f9fd379 100644
--- a/dhall/src/syntax/ast/visitor.rs
+++ b/dhall/src/syntax/ast/visitor.rs
@@ -1,6 +1,7 @@
-use crate::syntax::*;
use std::iter::FromIterator;
+use crate::syntax::*;
+
/// A visitor trait that can be used to traverse `ExprKind`s. We need this pattern so that Rust lets
/// us have as much mutability as we can.
/// For example, `traverse_ref_with_special_handling_of_binders` cannot be made using only