From c6aafe818ca56ec8bc6d3cd27824eba0a2d6b874 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 8 Mar 2019 22:59:18 +0100 Subject: Clean up some of the mess --- dhall_core/src/core.rs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'dhall_core/src') diff --git a/dhall_core/src/core.rs b/dhall_core/src/core.rs index 04c3961..72389c5 100644 --- a/dhall_core/src/core.rs +++ b/dhall_core/src/core.rs @@ -268,7 +268,16 @@ pub enum Builtin { } pub trait StringLike: - Display + fmt::Debug + Clone + Hash + Ord + Eq + Into + Default + From + Display + + fmt::Debug + + Clone + + Hash + + Ord + + Eq + + Default + + Into + + From + + From<&'static str> { } @@ -279,8 +288,10 @@ impl StringLike for T where + Hash + Ord + Eq + + Default + Into - + Default + From + + From + + From<&'static str> { } -- cgit v1.2.3