From 2a1901299d70844e79f0cbb3655785a33bb526e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20du=20Garreau?= Date: Mon, 24 Jul 2023 21:05:13 +0200 Subject: [PATCH] Fix new clippy lint --- src/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file.rs b/src/file.rs index f60d0a3..521ac25 100644 --- a/src/file.rs +++ b/src/file.rs @@ -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) }