summaryrefslogtreecommitdiff
path: root/dhall/src/semantics/resolve
diff options
context:
space:
mode:
authorCeri Storey2021-03-27 10:10:54 +0000
committerCeri Storey2021-03-27 10:51:05 +0000
commit6053e48575cf3b421f3eb8a6af33c853a518d9c9 (patch)
tree30f6cae538e59ef5e2f343dca9945a77e3e5b4d8 /dhall/src/semantics/resolve
parent87c120d6b728099cffc547d340ea4c4cc304acf9 (diff)
Replace a bunch of Err(…)? and format!("constant") calls.
Diffstat (limited to 'dhall/src/semantics/resolve')
-rw-r--r--dhall/src/semantics/resolve/resolve.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/semantics/resolve/resolve.rs b/dhall/src/semantics/resolve/resolve.rs
index 7d74cd6..5ec16e5 100644
--- a/dhall/src/semantics/resolve/resolve.rs
+++ b/dhall/src/semantics/resolve/resolve.rs
@@ -558,7 +558,7 @@ pub fn skip_resolve<'cx>(
parsed: Parsed,
) -> Result<Resolved<'cx>, Error> {
let parsed = Parsed::from_expr_without_imports(parsed.0);
- Ok(resolve(cx, parsed)?)
+ resolve(cx, parsed)
}
impl Parsed {