From 16ce1082465a11bf76df5f59530cde02bddc4f21 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 8 Mar 2019 00:07:09 +0100 Subject: Make Expr generic in its type of labels --- dhall_core/src/core.rs | 107 ++++++++++++++++++++++++----------------------- dhall_core/src/parser.rs | 78 +++++++++++++++++----------------- 2 files changed, 93 insertions(+), 92 deletions(-) (limited to 'dhall_core/src') diff --git a/dhall_core/src/core.rs b/dhall_core/src/core.rs index f2177b1..cbf0654 100644 --- a/dhall_core/src/core.rs +++ b/dhall_core/src/core.rs @@ -104,7 +104,7 @@ pub struct Import { /// appear as a numeric suffix. /// #[derive(Debug, Copy, Clone, PartialEq, Eq)] -pub struct V<'i>(pub &'i str, pub usize); +pub struct V