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:
    ACK d780ea3c48
  sanket1729:
    ACK d780ea3c48

Tree-SHA512: 2fcb7f1ad8883d17370b37786be34597ae6ab0a858d4636db831d80e779888307bc99cf247449ae285e43719cf955ea3bb9ebb3f045aafe644c815c5f5e21724
This commit is contained in:
Andrew Poelstra 2022-09-07 13:20:51 +00:00
commit f048cd9132
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 1 deletions

View File

@ -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