summaryrefslogtreecommitdiff
path: root/src/unistd.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2022-05-29 14:00:48 -0600
committerAlan Somers <asomers@gmail.com>2022-05-29 14:00:48 -0600
commit6f1c748938cd7e87a52756dcbfc90e8d1c6c2848 (patch)
tree7217410ae629435868a455c42bff4558f1338cb5 /src/unistd.rs
parentb0ab5573ea0a0df48053743d451cbdd9e3df7f68 (diff)
downloadnix-6f1c748938cd7e87a52756dcbfc90e8d1c6c2848.zip
Clippy cleanup for latest nightly
Diffstat (limited to 'src/unistd.rs')
-rw-r--r--src/unistd.rs4
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,