diff options
author | Nadrieril | 2019-03-09 10:32:17 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-09 10:32:17 +0100 |
commit | 19c18f9cd0d192f326fc2946729645cab5e1d416 (patch) | |
tree | c90e596a6e225ac3b9bfa5015b41d619fbccb018 /dhall_generator | |
parent | 60d554574d246de43976c8b50a38b514b026a72d (diff) |
Rename dhall! to dhall_expr! for clarity
Diffstat (limited to '')
-rw-r--r-- | dhall_generator/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_generator/src/lib.rs b/dhall_generator/src/lib.rs index 8745c76..d1a8bdf 100644 --- a/dhall_generator/src/lib.rs +++ b/dhall_generator/src/lib.rs @@ -6,7 +6,7 @@ use proc_macro2::TokenStream; use quote::quote; #[proc_macro] -pub fn dhall(input: proc_macro::TokenStream) -> proc_macro::TokenStream { +pub fn dhall_expr(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 = |