From 63fcd784c5e808399f40166f1fe5bc494f24368b Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 5 Nov 2022 10:32:23 +0100 Subject: [PATCH] core/io: drop useless duplicated statement in test --- nihav-core/src/io/intcode.rs | 1 - 1 file changed, 1 deletion(-) 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); -- 2.39.5