summaryrefslogtreecommitdiff
path: root/dhall_generator
diff options
context:
space:
mode:
Diffstat (limited to 'dhall_generator')
-rw-r--r--dhall_generator/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall_generator/src/lib.rs b/dhall_generator/src/lib.rs
index e43db43..b316f51 100644
--- a/dhall_generator/src/lib.rs
+++ b/dhall_generator/src/lib.rs
@@ -22,7 +22,7 @@ fn dhall_to_tokenstream<'i>(
expr: &Expr<'i, X, X>,
ctx: &Context<'i, ()>,
) -> TokenStream {
- use dhall_core::Expr::*;
+ use dhall_core::Expr_::*;
match expr {
e @ Var(_) => {
let v = dhall_to_tokenstream_bx(e, ctx);
@@ -78,7 +78,7 @@ fn dhall_to_tokenstream_bx<'i>(
expr: &Expr<'i, X, X>,
ctx: &Context<'i, ()>,
) -> TokenStream {
- use dhall_core::Expr::*;
+ use dhall_core::Expr_::*;
match expr {
Var(V(s, n)) => {
match ctx.lookup(s, *n) {