Fix bug with shrinking list.

This commit is contained in:
Paul Hauner
2019-04-26 16:55:19 +10:00
parent f65e981f6f
commit dddcc91ef3
4 changed files with 38 additions and 16 deletions

View File

@@ -418,13 +418,9 @@ fn test_struct_with_two_vecs() {
},
];
test_routine(variants[0].clone(), variants[6..7].to_vec());
/*
for v in &variants {
test_routine(v.clone(), variants.clone());
}
*/
}
#[derive(Clone, Debug, TreeHash, CachedTreeHash)]