Remove an unnecessary mut.

This commit is contained in:
2018-05-01 22:28:59 -07:00
parent d9df506920
commit 296bb6ad90

View File

@@ -1219,7 +1219,7 @@ mod test {
UCN::from_bytes(&a.to_bytes(bytelen)) == a UCN::from_bytes(&a.to_bytes(bytelen)) == a
} }
fn serialization_works2(inb: Vec<u8>) -> bool { fn serialization_works2(inb: Vec<u8>) -> bool {
let mut b = inb.clone(); let b = inb.clone();
UCN::from_bytes(&b).to_bytes(b.len()) == b UCN::from_bytes(&b).to_bytes(b.len()) == b
} }
} }