From a0ac45ccc6bd0168f05626fdf1886560006fcda1 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 9 Mar 2019 15:36:39 +0100 Subject: Use new Label type everywhere --- dhall_core/src/core.rs | 119 +++++++++++++++---------------------------------- 1 file changed, 37 insertions(+), 82 deletions(-) (limited to 'dhall_core/src/core.rs') diff --git a/dhall_core/src/core.rs b/dhall_core/src/core.rs index 7bd1318..7eaf08e 100644 --- a/dhall_core/src/core.rs +++ b/dhall_core/src/core.rs @@ -296,67 +296,52 @@ pub enum Builtin { TextShow, } -pub trait StringLike: - Display - + fmt::Debug - + Clone - + Hash - + Ord - + Eq - + Into - + From - + From<&'static str> -{ -} - -impl StringLike for T where - T: Display - + fmt::Debug - + Clone - + Hash - + Ord - + Eq - + Into - + From - + From<&'static str> -{ -} - -impl