From a1436f2d260a96b08ca31f8cf7851aa3f8c22beb Mon Sep 17 00:00:00 2001 From: Szymon Walter Date: Tue, 20 Mar 2018 12:57:00 +0100 Subject: [PATCH] satisfy lints --- src/sys/superblock.rs | 1 - src/volume/mod.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/sys/superblock.rs b/src/sys/superblock.rs index 6f44b6a..301bb35 100644 --- a/src/sys/superblock.rs +++ b/src/sys/superblock.rs @@ -314,7 +314,6 @@ mod tests { } #[test] - #[allow(unused_unsafe)] fn superblock() { use std::cell::RefCell; use std::fs::File; diff --git a/src/volume/mod.rs b/src/volume/mod.rs index 165bd3f..98192c2 100644 --- a/src/volume/mod.rs +++ b/src/volume/mod.rs @@ -307,7 +307,6 @@ mod file { slice .map(|slice| { let index = *slice.at_index(); - let end = index + Address::from(slice.as_ref().len()); let mut refmut = self.borrow_mut(); refmut .seek(SeekFrom::Start(index.index64()))