diff --git a/members/libpt-bin/src/hedu/mod.rs b/members/libpt-bin/src/hedu/mod.rs index 24bedd2..0673216 100644 --- a/members/libpt-bin/src/hedu/mod.rs +++ b/members/libpt-bin/src/hedu/mod.rs @@ -18,10 +18,7 @@ use libpt::{hedu::*, log::*}; use clap::Parser; use clap_verbosity_flag::{InfoLevel, Verbosity}; -use std::{ - fs::File, - io::{Seek, IsTerminal}, -}; +use std::{fs::File, io::IsTerminal}; //// TYPES ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/members/libpt-hedu/src/lib.rs b/members/libpt-hedu/src/lib.rs index 76cbe67..324364d 100644 --- a/members/libpt-hedu/src/lib.rs +++ b/members/libpt-hedu/src/lib.rs @@ -6,8 +6,8 @@ //! This crate is currently empty. use anyhow::{bail, Result}; -use libpt_log::{error, trace, warn, info}; use libpt_bintols::display::{bytes_to_bin, humanbytes}; +use libpt_log::{error, info, trace, warn}; use std::io::{prelude::*, BufReader, Read, SeekFrom}; const BYTES_PER_LINE: usize = 16; @@ -41,7 +41,6 @@ impl DataSource for std::fs::File { pub fn dump(data: &mut dyn DataSource, config: DumpConfig) -> Result<()> { // skip a given number of bytes if config.skip > 0 { - data.skip(config.skip)?; info!("Skipped {}", humanbytes(config.skip)); }