Skip to content

Commit

Permalink
It is not meaningful to compare to enumeration states
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed May 12, 2023
1 parent 10ef7cd commit 1c9e08e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1c9e08e

Please sign in to comment.