make it work on rust 1.45

This commit is contained in:
Nick Mathewson 2020-09-28 21:57:29 -04:00
parent 8d5957ca4b
commit 5bb01ba305
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ mod test {
if cellno == data[j].0 {
let expected = hex::decode(data[j].1).unwrap();
assert_eq!(cell.as_ref(), expected);
assert_eq!(cell.as_ref(), &expected[..]);
j += 1;
}
}