summaryrefslogtreecommitdiff
path: root/dhall/src/semantics/core/visitor.rs
diff options
context:
space:
mode:
authorNadrieril2020-01-29 21:26:42 +0000
committerNadrieril2020-01-29 21:26:42 +0000
commitdb6c09f33c3c794e4b6ec8a7aa80978d945a9d7a (patch)
tree8cf018122e61b035c3af4bdd84d62a159a089b22 /dhall/src/semantics/core/visitor.rs
parente410dbb428e621fe600be43ddecca1c7bff7cb2f (diff)
Remove dead code
Diffstat (limited to '')
-rw-r--r--dhall/src/semantics/core/visitor.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/dhall/src/semantics/core/visitor.rs b/dhall/src/semantics/core/visitor.rs
index 61a7d0b..aec66f8 100644
--- a/dhall/src/semantics/core/visitor.rs
+++ b/dhall/src/semantics/core/visitor.rs
@@ -72,14 +72,6 @@ where
{
use ValueKind::*;
Ok(match input {
- Lam(l, t, e) => {
- let (t, e) = v.visit_binder(l, t, e)?;
- Lam(l.clone(), t, e)
- }
- Pi(l, t, e) => {
- let (t, e) = v.visit_binder(l, t, e)?;
- Pi(l.clone(), t, e)
- }
LamClosure {
binder,
annot,