Skip to content

Commit

Permalink
move to &mut self
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusSorealheis committed Mar 6, 2024
1 parent b8e9521 commit c6e973e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/fs/mocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl Read for &'_ MockFile {
}
}

impl Seek for &'_ MockFile {
impl Seek for MockFile {
fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
self.inner_seek(pos)
}
Expand Down

0 comments on commit c6e973e

Please sign in to comment.