refactor: Remove some now-unneeded type annotations

pull/24376/head
Carol (Nichols || Goulding) 2020-04-08 10:55:57 -04:00
parent 051836ee4d
commit 2879b6cad7
1 changed files with 3 additions and 3 deletions

View File

@ -649,7 +649,7 @@ impl BlockSummary<f64> for FloatBlockSummary {
W: Write,
H: Hasher,
{
let mut total: usize = 0;
let mut total = 0;
let mut buf = [0; 10]; // Maximum varint size for 64-bit number.
let n = self.count.encode_var(&mut buf);
w.write(&buf[..n])?;
@ -741,7 +741,7 @@ impl BlockSummary<i64> for IntegerBlockSummary {
W: Write,
H: Hasher,
{
let mut total: usize = 0;
let mut total = 0;
let mut buf = [0; 10]; // Maximum varint size for 64-bit number.
let n = self.count.encode_var(&mut buf);
@ -982,7 +982,7 @@ impl BlockSummary<u64> for UnsignedBlockSummary {
W: Write,
H: Hasher,
{
let mut total: usize = 0;
let mut total = 0;
let mut buf = [0; 10]; // Maximum varint size for 64-bit number.
let n = self.count.encode_var(&mut buf);