summaryrefslogtreecommitdiff
path: root/dhall_generator
diff options
context:
space:
mode:
authorNadrieril2019-03-06 23:48:55 +0100
committerNadrieril2019-03-06 23:48:55 +0100
commit474744de28034e9558b1a3ff4f9e21ec1425d794 (patch)
tree8316d086b816e62bd185826fc8f58b46ffe17e92 /dhall_generator
parente3813e7d4e3450704c1213fd6cdff7c801ccbc34 (diff)
rustfmt
Diffstat (limited to 'dhall_generator')
-rw-r--r--dhall_generator/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/dhall_generator/src/lib.rs b/dhall_generator/src/lib.rs
index 5cd93f3..e43db43 100644
--- a/dhall_generator/src/lib.rs
+++ b/dhall_generator/src/lib.rs
@@ -9,7 +9,8 @@ use quote::quote;
pub fn dhall(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
let input_str = input.to_string();
let expr: Box<Expr<X, Import>> = parser::parse_expr(&input_str).unwrap();
- let no_import = |_: &Import| -> X { panic!("Don't use import in dhall!()") };
+ let no_import =
+ |_: &Import| -> X { panic!("Don't use import in dhall!()") };
let expr = expr.map_embed(&no_import);
let output = dhall_to_tokenstream(&expr, &Context::new());
output.into()