summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dhall_syntax/src/core/expr.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/dhall_syntax/src/core/expr.rs b/dhall_syntax/src/core/expr.rs
index 74b481f..2ad3ba8 100644
--- a/dhall_syntax/src/core/expr.rs
+++ b/dhall_syntax/src/core/expr.rs
@@ -346,10 +346,6 @@ impl<E> Expr<E> {
Expr(Box::new((x, None)))
}
- pub fn from_builtin(b: Builtin) -> Self {
- Expr::from_expr_no_span(ExprF::Builtin(b))
- }
-
pub fn rewrap<E2>(&self, x: RawExpr<E2>) -> Expr<E2> {
Expr(Box::new((x, (self.0).1.clone())))
}