diff options
author | Nadrieril | 2019-03-08 22:59:18 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-08 22:59:18 +0100 |
commit | c6aafe818ca56ec8bc6d3cd27824eba0a2d6b874 (patch) | |
tree | 57e4ef2c9d063744f3dfaf9693ad353b146438a4 /dhall_core/src | |
parent | d3f4a32d1e3d39c8d42306e5ca5ad4bb256edcd8 (diff) |
Clean up some of the mess
Diffstat (limited to 'dhall_core/src')
-rw-r--r-- | dhall_core/src/core.rs | 15 |
1 files changed, 13 insertions, 2 deletions
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<String> + Default + From<String> + Display + + fmt::Debug + + Clone + + Hash + + Ord + + Eq + + Default + + Into<String> + + From<String> + + From<&'static str> { } @@ -279,8 +288,10 @@ impl<T> StringLike for T where + Hash + Ord + Eq + + Default + Into<String> - + Default + From<String> + + From<String> + + From<&'static str> { } |