From 296bb6ad902cc2ae707a69b141b89c7ef2f2a663 Mon Sep 17 00:00:00 2001 From: Adam Wick Date: Tue, 1 May 2018 22:28:59 -0700 Subject: [PATCH] Remove an unnecessary mut. --- src/cryptonum/unsigned.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonum/unsigned.rs b/src/cryptonum/unsigned.rs index e68dc30..3aeccdf 100644 --- a/src/cryptonum/unsigned.rs +++ b/src/cryptonum/unsigned.rs @@ -1219,7 +1219,7 @@ mod test { UCN::from_bytes(&a.to_bytes(bytelen)) == a } fn serialization_works2(inb: Vec) -> bool { - let mut b = inb.clone(); + let b = inb.clone(); UCN::from_bytes(&b).to_bytes(b.len()) == b } }