diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2022-11-05 10:32:23 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2022-11-05 10:32:23 +0100 |
commit | 63fcd784c5e808399f40166f1fe5bc494f24368b (patch) | |
tree | 6cece46d8b8716c26343df9819ea5482dcdf8946 /nihav-core/src | |
parent | 817e487223b28379176a533f09485c27a68443f8 (diff) | |
download | nihav-63fcd784c5e808399f40166f1fe5bc494f24368b.tar.gz |
core/io: drop useless duplicated statement in test
Diffstat (limited to 'nihav-core/src')
-rw-r--r-- | nihav-core/src/io/intcode.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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); |