From d780ea3c484458840196e9b37edea04cccc36905 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 7 Sep 2022 10:47:20 +1000 Subject: [PATCH] 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. --- src/bip158.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bip158.rs b/src/bip158.rs index 9a954814..f4366841 100644 --- a/src/bip158.rs +++ b/src/bip158.rs @@ -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