Skip to content

Commit

Permalink
Fix latest clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Jan 21, 2025
1 parent 3e1d1bd commit f245663
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ impl Read for File {
}
}

impl<'a> Read for &'a File {
impl Read for &File {
fn read(&mut self, buf: &mut [u8]) -> std::io::Result<usize> {
(&self.file)
.read(buf)
Expand Down Expand Up @@ -234,7 +234,7 @@ impl Seek for File {
}
}

impl<'a> Seek for &'a File {
impl Seek for &File {
fn seek(&mut self, pos: std::io::SeekFrom) -> std::io::Result<u64> {
(&self.file)
.seek(pos)
Expand Down Expand Up @@ -262,7 +262,7 @@ impl Write for File {
}
}

impl<'a> Write for &'a File {
impl Write for &File {
fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
(&self.file)
.write(buf)
Expand Down

0 comments on commit f245663

Please sign in to comment.