Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Missing bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm committed Sep 5, 2018
1 parent e345ed9 commit 1c0b385
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions substrate/runtime-io/without_std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ pub fn enumerated_trie_root<H: Hasher + ExternTrieCrypto>(values: &[&[u8]]) -> [

/// A trie root formed from the iterated items.
pub fn trie_root<
H,
H: Hasher + ExternTrieCrypto,
I: IntoIterator<Item = (A, B)>,
A: AsRef<[u8]> + Ord,
B: AsRef<[u8]>,
Expand All @@ -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<Item = A>,
A: AsRef<[u8]>
>(_input: I) -> [u8; 32] {
Expand Down

0 comments on commit 1c0b385

Please sign in to comment.