diff options
author | Nadrieril | 2020-01-17 10:49:02 +0000 |
---|---|---|
committer | Nadrieril | 2020-01-17 10:49:02 +0000 |
commit | f7a8d967b02bc20c093d501746ed3de53cc7da13 (patch) | |
tree | 699b4b7458ce76f57f3320040cba73cca5702155 /dhall/src/syntax | |
parent | fc1d7b758008643447f17bc9d05adb128d1567cc (diff) |
Simplify Shift and Subst instances
Diffstat (limited to 'dhall/src/syntax')
-rw-r--r-- | dhall/src/syntax/ast/expr.rs | 3 |
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 } |