Skip to content

Commit

Permalink
Derive Eq and Hash for Locale
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker committed Jan 26, 2024
1 parent eaae847 commit 8f9c10f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generate-api/src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ impl CodeGenerator {
/// License note: The Free Software Foundation does not claim any copyright interest in the locale
/// data of the GNU C Library; they believe it is not copyrightable.
#[allow(non_camel_case_types,dead_code)]
#[derive(Copy, Clone, Default, PartialEq)]
#[derive(Copy, Clone, Default, PartialEq, Eq, Hash)]
pub enum Locale {{
"#,
)?;
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Git LFS file not shown

0 comments on commit 8f9c10f

Please sign in to comment.