summaryrefslogtreecommitdiff
path: root/dhall_generator
diff options
context:
space:
mode:
authorNadrieril2019-03-17 22:02:10 +0100
committerNadrieril2019-03-17 22:02:10 +0100
commit4c08c603946fa0ac483317d85a71dd1f709eec74 (patch)
treedf95a0c94da85e3a68005b114bf66b2df691c15d /dhall_generator
parent05454ab9936514409e1b3c97e36f3fb476d532ba (diff)
Use Rc consistently everywhere
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 26be4c4..9c0aacf 100644
--- a/dhall_generator/src/lib.rs
+++ b/dhall_generator/src/lib.rs
@@ -13,11 +13,11 @@ pub fn dhall_expr(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
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());
+ let output = dhall_to_tokenstream_bx(&expr, &Context::new());
output.into()
}
-// Returns an expression of type Expr<_, _>. Expects input variables
+// Returns an expression of type Expr<_, _>. Expects interpolated variables
// to be of type Rc<Expr<_, _>>.
fn dhall_to_tokenstream(
expr: &Expr<X, X>,