Skip to content

Commit

Permalink
Merge pull request #1853 from indygreg/build-flags-clone
Browse files Browse the repository at this point in the history
pyo3-build-config: derive Clone on BuildFlags
  • Loading branch information
davidhewitt authored Sep 1, 2021
2 parents 5e8d43c + 05815bf commit a8ff8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyo3-build-config/src/impl_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ impl FromStr for BuildFlag {
///
/// see Misc/SpecialBuilds.txt in the python source for what these mean.
#[cfg_attr(test, derive(Debug, PartialEq))]
#[derive(Default)]
#[derive(Clone, Default)]
pub struct BuildFlags(pub HashSet<BuildFlag>);

impl BuildFlags {
Expand Down

0 comments on commit a8ff8dd

Please sign in to comment.