diff options
author | Nadrieril | 2019-04-15 00:06:28 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-15 00:06:28 +0200 |
commit | 75d52de47bb4fdee3c2b71505c433bfc34166b49 (patch) | |
tree | 380458819262039f6b9ac4c62bb6bc79530bb608 /dhall_core/src | |
parent | 89667f976dc6ed006c9b983dd64301cf477b9008 (diff) |
Remove leftover bx() function
Diffstat (limited to 'dhall_core/src')
-rw-r--r-- | dhall_core/src/core.rs | 7 |
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)) } |