diff options
author | Nadrieril | 2019-03-27 00:22:39 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-27 00:22:39 +0100 |
commit | 108c35242884b9cb5e3988e406f7983404cdf315 (patch) | |
tree | fbdbd144c5582e2b7fea3b8663ea0f87306044ca /dhall_generator/src/dhall_expr.rs | |
parent | 173e0eb15b33342ec7c3523be0f913a962e7b85a (diff) |
Manually rustfmt like a nazi
Diffstat (limited to '')
-rw-r--r-- | dhall_generator/src/dhall_expr.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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 => { |