Remove unneeded newlines

Conventionally we only put a single newline between types, impl blocks,
and functions.
This commit is contained in:
Tobin C. Harding 2022-08-08 16:40:49 +10:00
parent 28853fd3cc
commit 08e55bc4f1
1 changed files with 0 additions and 4 deletions

View File

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