From 08e55bc4f17e8f1751766dcb27266d11321fb447 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 8 Aug 2022 16:40:49 +1000 Subject: [PATCH] Remove unneeded newlines Conventionally we only put a single newline between types, impl blocks, and functions. --- src/util/bip158.rs | 4 ---- 1 file changed, 4 deletions(-) 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,