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:
|
||||
let mut file = file.unwrap();
|
||||
let entry = Entry::from_file(self.id.clone(), &mut file);
|
||||
file.seek(SeekFrom::Start(0));
|
||||
file.seek(SeekFrom::Start(0)).ok();
|
||||
entry
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue