Use unused result which must be used when file.seek()ing
This commit is contained in:
parent
a45571e299
commit
dc7a212278
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ impl StoreEntry {
|
||||||
// TODO:
|
// TODO:
|
||||||
let mut file = file.unwrap();
|
let mut file = file.unwrap();
|
||||||
let entry = Entry::from_file(self.id.clone(), &mut file);
|
let entry = Entry::from_file(self.id.clone(), &mut file);
|
||||||
file.seek(SeekFrom::Start(0));
|
file.seek(SeekFrom::Start(0)).ok();
|
||||||
entry
|
entry
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue