diff options
author | Nadrieril | 2019-03-17 22:02:10 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-17 22:02:10 +0100 |
commit | 4c08c603946fa0ac483317d85a71dd1f709eec74 (patch) | |
tree | df95a0c94da85e3a68005b114bf66b2df691c15d /dhall_generator/src | |
parent | 05454ab9936514409e1b3c97e36f3fb476d532ba (diff) |
Use Rc consistently everywhere
Diffstat (limited to '')
-rw-r--r-- | dhall_generator/src/lib.rs | 4 |
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>, |