]> git.nihav.org Git - nihav.git/commitdiff
core/io: drop useless duplicated statement in test
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 5 Nov 2022 09:32:23 +0000 (10:32 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 5 Nov 2022 09:32:23 +0000 (10:32 +0100)
nihav-core/src/io/intcode.rs

index f05d64f0eebaa21b0fb1a6c3a802c4a65a838bde..6b45b77588f33327083d84b9dfe14d484bd02856 100644 (file)
@@ -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);