From 0847491079711f896a5ff89455af47a5f862857e Mon Sep 17 00:00:00 2001 From: ph0llux Date: Mon, 27 May 2024 21:46:35 +0200 Subject: [PATCH] Fixed errors on nightly compilers --- src/lib/io/zffstreamer/mod.rs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/lib/io/zffstreamer/mod.rs b/src/lib/io/zffstreamer/mod.rs index baf4e68..9ffa110 100644 --- a/src/lib/io/zffstreamer/mod.rs +++ b/src/lib/io/zffstreamer/mod.rs @@ -1,19 +1,13 @@ -// - STD -use std::io::Read; -use std::collections::HashMap; -use std::path::PathBuf; +// Parent +use super::*; // - internal use crate::{ - error::{ZffError, ZffErrorKind}, - hashing::HashType, - header::{ObjectHeader, SegmentHeader, ChunkMap, ChunkHeader}, - footer::{SegmentFooter, MainFooter}, + header::{SegmentHeader, ChunkMap, ChunkHeader}, + footer::SegmentFooter, HeaderCoding }; -use super::*; - #[derive(Debug, Clone, Default)] enum ReadBytes { Read(u64),