diff options
author | Alan Somers <asomers@gmail.com> | 2022-05-29 14:00:48 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-05-29 14:00:48 -0600 |
commit | 6f1c748938cd7e87a52756dcbfc90e8d1c6c2848 (patch) | |
tree | 7217410ae629435868a455c42bff4558f1338cb5 /src/sys/uio.rs | |
parent | b0ab5573ea0a0df48053743d451cbdd9e3df7f68 (diff) | |
download | nix-6f1c748938cd7e87a52756dcbfc90e8d1c6c2848.zip |
Clippy cleanup for latest nightly
Diffstat (limited to 'src/sys/uio.rs')
-rw-r--r-- | src/sys/uio.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys/uio.rs b/src/sys/uio.rs index 4b3851f5..1908973b 100644 --- a/src/sys/uio.rs +++ b/src/sys/uio.rs @@ -132,6 +132,10 @@ pub struct RemoteIoVec { note = "`IoVec` is no longer used in the public interface, use `IoSlice` or `IoSliceMut` instead" )] #[repr(transparent)] +#[allow(renamed_and_removed_lints)] +#[allow(clippy::unknown_clippy_lints)] +// Clippy false positive: https://github.com/rust-lang/rust-clippy/issues/8867 +#[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] pub struct IoVec<T>(pub(crate) libc::iovec, PhantomData<T>); |