From 4a483ccbde256786f3648a525232d0e7772208b4 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 11 Apr 2020 10:48:25 +0200 Subject: [PATCH] core/io: fix typo in codebook doc example --- nihav-core/src/io/codebook.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-core/src/io/codebook.rs b/nihav-core/src/io/codebook.rs index 9355deb..0fc6a9c 100644 --- a/nihav-core/src/io/codebook.rs +++ b/nihav-core/src/io/codebook.rs @@ -16,7 +16,7 @@ //! ShortCodebookDesc { code: 0b01, bits: 2 }, //! ShortCodebookDesc { code: 0b1, bits: 1 }); //! let mut cr = ShortCodebookDescReader::new(cb_desc); -//! let cb = Codebook::new(&mut cr, CodebookMode::LSB).unwrap(); +//! let cb = Codebook::new(&mut cr, CodebookMode::MSB).unwrap(); //! ``` //! //! Create a codebook using more flexible [`TableCodebookDescReader`] approach. -- 2.39.5