summaryrefslogtreecommitdiff
path: root/dhall/src/imports.rs
diff options
context:
space:
mode:
authorNadrieril2019-03-08 22:46:39 +0100
committerNadrieril2019-03-08 22:46:39 +0100
commitd3f4a32d1e3d39c8d42306e5ca5ad4bb256edcd8 (patch)
tree113e9a9aaac158a5c0d110b3ce93c2a531957c27 /dhall/src/imports.rs
parent66bed8dbc7249e17a89adcbb19406f4126a434de (diff)
Rename Expr back to its true name
Diffstat (limited to 'dhall/src/imports.rs')
-rw-r--r--dhall/src/imports.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/dhall/src/imports.rs b/dhall/src/imports.rs
index 4240b5e..ad0ae0f 100644
--- a/dhall/src/imports.rs
+++ b/dhall/src/imports.rs
@@ -1,11 +1,11 @@
// use dhall_core::{Expr, FilePrefix, Import, ImportLocation, ImportMode, X};
-use dhall_core::{Expr_, StringLike, Import, X};
+use dhall_core::{Expr, StringLike, Import, X};
// use std::path::Path;
// use std::path::PathBuf;
pub fn resolve_imports<Label: StringLike, S: Clone>(
- expr: &Expr_<Label, S, Import>,
-) -> Expr_<Label, S, X> {
+ expr: &Expr<Label, S, Import>,
+) -> Expr<Label, S, X> {
let no_import = |_: &Import| -> X { panic!("ahhh import") };
expr.map_embed(&no_import)
}