satisfy lints
This commit is contained in:
parent
02f70ee974
commit
a1436f2d26
|
@ -314,7 +314,6 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[allow(unused_unsafe)]
|
||||
fn superblock() {
|
||||
use std::cell::RefCell;
|
||||
use std::fs::File;
|
||||
|
|
|
@ -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()))
|
||||
|
|
Reference in a new issue