summaryrefslogtreecommitdiff
path: root/dhall/src/syntax/ast
diff options
context:
space:
mode:
authorNadrieril2020-01-17 10:49:02 +0000
committerNadrieril2020-01-17 10:49:02 +0000
commitf7a8d967b02bc20c093d501746ed3de53cc7da13 (patch)
tree699b4b7458ce76f57f3320040cba73cca5702155 /dhall/src/syntax/ast
parentfc1d7b758008643447f17bc9d05adb128d1567cc (diff)
Simplify Shift and Subst instances
Diffstat (limited to 'dhall/src/syntax/ast')
-rw-r--r--dhall/src/syntax/ast/expr.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/dhall/src/syntax/ast/expr.rs b/dhall/src/syntax/ast/expr.rs
index 0ac31a5..04b5adc 100644
--- a/dhall/src/syntax/ast/expr.rs
+++ b/dhall/src/syntax/ast/expr.rs
@@ -174,9 +174,6 @@ pub enum ExprKind<SubExpr, Embed> {
}
impl<Label> V<Label> {
- pub(crate) fn name(&self) -> &Label {
- &self.0
- }
pub(crate) fn idx(&self) -> usize {
self.1
}