From: Kostya Shishkov Date: Sat, 11 Apr 2020 08:48:25 +0000 (+0200) Subject: core/io: fix typo in codebook doc example X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=4a483ccbde256786f3648a525232d0e7772208b4;p=nihav.git core/io: fix typo in codebook doc example --- 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.