Merge branch 'master' into gav-demo

This commit is contained in:
Gav
2018-03-02 14:59:32 +01:00
22 changed files with 574 additions and 66 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ impl Slicable for Vec<u64> {
u32::decode(input).and_then(move |len| {
let len = len as usize;
let mut vec = Vec::with_capacity(len);
for i in 0..len {
for _ in 0..len {
vec.push(u64::decode(input)?);
}
Some(vec)