From: Kostya Shishkov Date: Sat, 5 Nov 2022 09:32:23 +0000 (+0100) Subject: core/io: drop useless duplicated statement in test X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=63fcd784c5e808399f40166f1fe5bc494f24368b;p=nihav.git core/io: drop useless duplicated statement in test --- diff --git a/nihav-core/src/io/intcode.rs b/nihav-core/src/io/intcode.rs index f05d64f..6b45b77 100644 --- a/nihav-core/src/io/intcode.rs +++ b/nihav-core/src/io/intcode.rs @@ -348,7 +348,6 @@ mod test { bw.write_code(UintCodeType::Gamma, 42); bw.write_code(UintCodeType::GammaP, 42); let data = bw.end(); - let mut br = BitReader::new(&data, BitReaderMode::BE); let mut br = BitReader::new(&data, BitReaderMode::BE); assert_eq!(br.read_code(UintCodeType::Golomb(5)).unwrap(), 42);