diff --git a/src/util/bip158.rs b/src/util/bip158.rs index 2b9e49d2..513c5086 100644 --- a/src/util/bip158.rs +++ b/src/util/bip158.rs @@ -86,14 +86,12 @@ impl std::error::Error for Error { } } - impl From for Error { fn from(io: io::Error) -> Self { Error::Io(io) } } - /// a computed or read block filter #[derive(Debug, Clone, PartialEq, Eq)] pub struct BlockFilter { @@ -208,7 +206,6 @@ impl<'a, W: io::Write> BlockFilterWriter<'a, W> { } } - /// Reads and interpret a block filter pub struct BlockFilterReader { reader: GCSFilterReader @@ -242,7 +239,6 @@ impl BlockFilterReader { } } - /// Golomb-Rice encoded filter reader pub struct GCSFilterReader { filter: GCSFilter,