Skip to content

Commit 3f9ce08

Browse files
committed
Fix a clippy lint.
1 parent 034c9ef commit 3f9ce08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libc/offset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub(super) use c::posix_fadvise as libc_posix_fadvise;
131131
#[cfg(feature = "fs")]
132132
pub(super) use c::posix_fadvise64 as libc_posix_fadvise;
133133

134-
#[cfg(all(not(any(linux_kernel, windows, target_os = "emscripten"))))]
134+
#[cfg(not(any(linux_kernel, windows, target_os = "emscripten")))]
135135
pub(super) use c::{pread as libc_pread, pwrite as libc_pwrite};
136136
#[cfg(any(linux_kernel, target_os = "emscripten"))]
137137
pub(super) use c::{pread64 as libc_pread, pwrite64 as libc_pwrite};

0 commit comments

Comments
 (0)