]> git.nihav.org Git - nihav.git/commitdiff
core/io: fix typo in codebook doc example
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 11 Apr 2020 08:48:25 +0000 (10:48 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 11 Apr 2020 08:48:25 +0000 (10:48 +0200)
nihav-core/src/io/codebook.rs

index 9355deb846cdc987b06372c8219fc08eeb1c9c49..0fc6a9cb316b673ca66046464e62d1911b5d00ef 100644 (file)
@@ -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.