From 108c35242884b9cb5e3988e406f7983404cdf315 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Wed, 27 Mar 2019 00:22:39 +0100 Subject: Manually rustfmt like a nazi --- dhall_generator/src/dhall_expr.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dhall_generator/src/dhall_expr.rs') diff --git a/dhall_generator/src/dhall_expr.rs b/dhall_generator/src/dhall_expr.rs index bc9da22..41e558b 100644 --- a/dhall_generator/src/dhall_expr.rs +++ b/dhall_generator/src/dhall_expr.rs @@ -109,7 +109,8 @@ fn dhall_to_tokenstream_bx( // Non-free variable; interpolates as itself Some(()) => { let s: String = s.into(); - quote! { dhall_core::bx(dhall_core::Expr::Var(dhall_core::V(#s.into(), #n))) } + let var = quote! { dhall_core::V(#s.into(), #n) }; + bx(quote! { dhall_core::Expr::Var(#var) }) } // Free variable; interpolates as a rust variable None => { -- cgit v1.2.3