From 1c0b385898870f8f4f8dd25cefe4428811d8585c Mon Sep 17 00:00:00 2001 From: David Palm Date: Wed, 5 Sep 2018 12:17:53 +0200 Subject: [PATCH] Missing bounds --- substrate/runtime-io/without_std.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/runtime-io/without_std.rs b/substrate/runtime-io/without_std.rs index 71a4745ead3d5..130e7b1555eb7 100644 --- a/substrate/runtime-io/without_std.rs +++ b/substrate/runtime-io/without_std.rs @@ -177,7 +177,7 @@ pub fn enumerated_trie_root(values: &[&[u8]]) -> [ /// A trie root formed from the iterated items. pub fn trie_root< - H, + H: Hasher + ExternTrieCrypto, I: IntoIterator, A: AsRef<[u8]> + Ord, B: AsRef<[u8]>, @@ -189,7 +189,7 @@ pub fn trie_root< /// A trie root formed from the enumerated items. pub fn ordered_trie_root< - H, + H: Hasher + ExternTrieCrypto, I: IntoIterator, A: AsRef<[u8]> >(_input: I) -> [u8; 32] {