Use correct path for bip158 in rustdoc

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.
This commit is contained in:
Tobin C. Harding 2022-09-07 10:47:20 +10:00
parent 501821404d
commit d780ea3c48
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ impl<'a, R: io::Read> BitStreamReader<'a, R> {
/// ///
/// # Examples /// # Examples
/// ``` /// ```
/// # use bitcoin::util::bip158::BitStreamReader; /// # use bitcoin::bip158::BitStreamReader;
/// # let data = vec![0xff]; /// # let data = vec![0xff];
/// # let mut input = data.as_slice(); /// # let mut input = data.as_slice();
/// let mut reader = BitStreamReader::new(&mut input); // input contains all 1's /// let mut reader = BitStreamReader::new(&mut input); // input contains all 1's