From 1c9e08e493b45c0fd26dcc59ca45eb2da2b7741d Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Fri, 12 May 2023 00:08:00 -0700 Subject: [PATCH] It is not meaningful to compare to enumeration states --- Rakefile | 2 +- src/sys.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 9c51ae7..69d9904 100644 --- a/Rakefile +++ b/Rakefile @@ -156,7 +156,7 @@ task :bindgen do f.puts <<~NEWTYPE /// Opaque type for holding sysdir enumeration state. #[repr(transparent)] - #[derive(Debug, PartialEq, Eq)] + #[derive(Debug)] #[allow(missing_copy_implementations)] pub struct sysdir_search_path_enumeration_state(::core::ffi::c_uint); diff --git a/src/sys.rs b/src/sys.rs index f5b73a7..0eb70bd 100644 --- a/src/sys.rs +++ b/src/sys.rs @@ -63,7 +63,7 @@ extern "C" { /// Opaque type for holding sysdir enumeration state. #[repr(transparent)] -#[derive(Debug, PartialEq, Eq)] +#[derive(Debug)] #[allow(missing_copy_implementations)] pub struct sysdir_search_path_enumeration_state(::core::ffi::c_uint);