Skip to content

Commit

Permalink
Fix new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
a1phyr committed Jul 24, 2023
1 parent 8fa1413 commit 2a19012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ impl ReadAt for RandomAccessFile {
}
}

#[cfg(any(unix))]
#[cfg(unix)]
fn read_exact_at(&self, buf: &mut [u8], offset: u64) -> io::Result<()> {
self.0.read_exact_at(buf, offset)
}
Expand Down

0 comments on commit 2a19012

Please sign in to comment.