Remove redundant type param fom CachedTreeHash

This commit is contained in:
Paul Hauner
2019-04-29 07:48:48 +10:00
parent 6258abfa9f
commit 0599d3f1f8
10 changed files with 26 additions and 30 deletions

View File

@@ -34,7 +34,7 @@ pub struct NestedStruct {
fn test_routine<T>(original: T, modified: Vec<T>)
where
T: CachedTreeHash<T> + std::fmt::Debug,
T: CachedTreeHash + std::fmt::Debug,
{
let mut hasher = CachedTreeHasher::new(&original).unwrap();