From b91f48a2242c270d1d80c6338cdca039dcc5b545 Mon Sep 17 00:00:00 2001 From: Davide Romanini Date: Thu, 13 Aug 2020 15:53:38 +0200 Subject: [PATCH] fix fmt --- src/spec.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/spec.rs b/src/spec.rs index 63d4d287..91966b67 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -66,7 +66,6 @@ impl CentralDirectoryEnd { reader.seek(io::SeekFrom::Current( BYTES_BETWEEN_MAGIC_AND_COMMENT_SIZE as i64, ))?; - let cde_start_pos = reader.seek(io::SeekFrom::Start(pos as u64))?; return CentralDirectoryEnd::parse(reader).map(|cde| (cde, cde_start_pos)); }