Merge rust-bitcoin/rust-bitcoin#1246: Use correct path for bip158 in rustdoc
d780ea3c48
Use correct path for bip158 in rustdoc (Tobin C. Harding) Pull request description: Recently we moved the `bip158` module but I missed one of the import statements in rustdoc - if only I could work out how to lint rustdocs. ACKs for top commit: apoelstra: ACKd780ea3c48
sanket1729: ACKd780ea3c48
Tree-SHA512: 2fcb7f1ad8883d17370b37786be34597ae6ab0a858d4636db831d80e779888307bc99cf247449ae285e43719cf955ea3bb9ebb3f045aafe644c815c5f5e21724
This commit is contained in:
commit
f048cd9132
|
@ -464,7 +464,7 @@ impl<'a, R: io::Read> BitStreamReader<'a, R> {
|
|||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// # use bitcoin::util::bip158::BitStreamReader;
|
||||
/// # use bitcoin::bip158::BitStreamReader;
|
||||
/// # let data = vec![0xff];
|
||||
/// # let mut input = data.as_slice();
|
||||
/// let mut reader = BitStreamReader::new(&mut input); // input contains all 1's
|
||||
|
|
Loading…
Reference in New Issue