Skip to content

pyo3-build-config: derive Clone on BuildFlags#1853

Merged
davidhewitt merged 1 commit intoPyO3:mainfrom
indygreg:build-flags-clone
Sep 1, 2021
Merged

pyo3-build-config: derive Clone on BuildFlags#1853
davidhewitt merged 1 commit intoPyO3:mainfrom
indygreg:build-flags-clone

Conversation

@indygreg
Copy link
Contributor

@indygreg indygreg commented Sep 1, 2021

This isn't strictly necessary since you can .0.clone(). But it is
more ergonomic.

Found this when porting PyOxidizer to the 0.14.5 branch.

This isn't strictly necessary since you can `.0.clone()`. But it is
more ergonomic.
Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 there's one or two places I would have used this too!

@davidhewitt davidhewitt merged commit a8ff8dd into PyO3:main Sep 1, 2021
@davidhewitt davidhewitt mentioned this pull request Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants