Skip to content

Commit

Permalink
Fixes clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Sep 28, 2024
1 parent d7dd811 commit ef9a8cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ impl<P: DiskPartition> Seek for File<P> {
Reader::Empty(r) => return r.rewind(),
};

Ok(r.rewind())
r.rewind();

Ok(())
}

fn stream_position(&mut self) -> std::io::Result<u64> {
Expand Down

0 comments on commit ef9a8cd

Please sign in to comment.