summaryrefslogtreecommitdiff
path: root/dhall_core
diff options
context:
space:
mode:
Diffstat (limited to 'dhall_core')
-rw-r--r--dhall_core/src/core.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/dhall_core/src/core.rs b/dhall_core/src/core.rs
index 9c07ff7..7859c73 100644
--- a/dhall_core/src/core.rs
+++ b/dhall_core/src/core.rs
@@ -449,12 +449,7 @@ impl<N, E> Clone for SubExpr<N, E> {
}
}
-// Remains of a previous life, where everything was in Boxes
-pub fn bx<N, E>(x: Expr<N, E>) -> SubExpr<N, E> {
- SubExpr(Rc::new(x))
-}
-
-// Should probably rename this too
+// Should probably rename this
pub fn rc<N, E>(x: Expr<N, E>) -> SubExpr<N, E> {
SubExpr(Rc::new(x))
}