diff options
author | Nadrieril | 2019-04-10 22:32:07 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-10 22:32:07 +0200 |
commit | 7740ec004c6d7e073358bf2be00b6c0006e4dd06 (patch) | |
tree | 8c7658d71fc0fcc5158ffe028bb6a9c10701f150 /dhall/src/imports.rs | |
parent | 88ac184e7e967c4a5e257c91598f647b8294d71c (diff) |
Allow providing type for typechecking in API
Diffstat (limited to 'dhall/src/imports.rs')
-rw-r--r-- | dhall/src/imports.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dhall/src/imports.rs b/dhall/src/imports.rs index cedc072..7810c55 100644 --- a/dhall/src/imports.rs +++ b/dhall/src/imports.rs @@ -97,9 +97,3 @@ impl Parsed { crate::imports::resolve_expr(self, false) } } - -// Deprecated, used for tests only -#[allow(dead_code)] -pub fn load_dhall_file(f: &Path) -> Result<SubExpr<X, X>, Error> { - Ok(load_import(f)?.0) -} |