Skip to content

Commit

Permalink
Continue deriving Clone, Copy, Debug, PartialEq, Eq, Hash for bitflags
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege authored and bilelmoussaoui committed Jul 6, 2023
1 parent 33df52d commit b11abb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/codegen/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ fn generate_flags(
if let Some(ref d) = config.derives {
derives(w, d, 1)?;
}
writeln!(w, " #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]")?;

doc_alias(w, &flags.c_type, "", 1)?;
writeln!(
Expand Down

0 comments on commit b11abb2

Please sign in to comment.