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/unistd.rs | |
parent | b0ab5573ea0a0df48053743d451cbdd9e3df7f68 (diff) | |
download | nix-6f1c748938cd7e87a52756dcbfc90e8d1c6c2848.zip |
Clippy cleanup for latest nightly
Diffstat (limited to 'src/unistd.rs')
-rw-r--r-- | src/unistd.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index 8c42fd2b..142aae79 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -2857,7 +2857,7 @@ feature! { /// guaranteed to conform to [`NAME_REGEX`](https://serverfault.com/a/73101/407341), which only /// contains ASCII. #[cfg(not(target_os = "redox"))] // RedoxFS does not support passwd -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] pub struct User { /// Username pub name: String, @@ -3076,7 +3076,7 @@ impl User { /// Representation of a Group, based on `libc::group` #[cfg(not(target_os = "redox"))] // RedoxFS does not support passwd -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] pub struct Group { /// Group name pub name: String, |