From 2a9750ada4c067ecadbe46f190f70095a86fd616 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 21 Sep 2017 17:28:37 -0700 Subject: [PATCH] bigint: remove an unused mut --- bigint/src/bigint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigint/src/bigint.rs b/bigint/src/bigint.rs index bae78d7..a4505b1 100644 --- a/bigint/src/bigint.rs +++ b/bigint/src/bigint.rs @@ -1757,7 +1757,7 @@ fn twos_complement<'a, I>(digits: I) where I: IntoIterator { let mut carry = true; - for mut d in digits { + for d in digits { *d = d.not(); if carry { *d = d.wrapping_add(1);