satisfy lints
This commit is contained in:
parent
02f70ee974
commit
a1436f2d26
|
@ -314,7 +314,6 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[allow(unused_unsafe)]
|
|
||||||
fn superblock() {
|
fn superblock() {
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
|
|
@ -307,7 +307,6 @@ mod file {
|
||||||
slice
|
slice
|
||||||
.map(|slice| {
|
.map(|slice| {
|
||||||
let index = *slice.at_index();
|
let index = *slice.at_index();
|
||||||
let end = index + Address::from(slice.as_ref().len());
|
|
||||||
let mut refmut = self.borrow_mut();
|
let mut refmut = self.borrow_mut();
|
||||||
refmut
|
refmut
|
||||||
.seek(SeekFrom::Start(index.index64()))
|
.seek(SeekFrom::Start(index.index64()))
|
||||||
|
|
Reference in a new issue