diff options
author | Nadrieril | 2019-03-09 15:46:30 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-09 15:46:30 +0100 |
commit | 6037cb224c5e61828ba41cb3d34438ad03a71403 (patch) | |
tree | e3ee6d3a5416d60bf7eaedd7407b931b9063d8bb /dhall/tests | |
parent | a0ac45ccc6bd0168f05626fdf1886560006fcda1 (diff) |
Remove the pervasive Label type parameter
Closes #1
Diffstat (limited to 'dhall/tests')
-rw-r--r-- | dhall/tests/macros.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dhall/tests/macros.rs b/dhall/tests/macros.rs index 10c4f5c..9ed48e0 100644 --- a/dhall/tests/macros.rs +++ b/dhall/tests/macros.rs @@ -73,9 +73,7 @@ pub enum ExpectedResult { Failure, } -pub fn read_dhall_file<'i>( - file_path: &str, -) -> Result<Expr<Label, X, X>, DhallError> { +pub fn read_dhall_file<'i>(file_path: &str) -> Result<Expr<X, X>, DhallError> { load_dhall_file(&PathBuf::from(file_path), true) } |