Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prettyplease feature to bindgen-cli #2789

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

jschwe
Copy link
Contributor

@jschwe jschwe commented Mar 25, 2024

The bindgen documentation explictly mentions being able to use --formatter=prettyplease, but currently the prettyplease feature has no way to be enabled.
Enable it by default, since the documentation also doesn't mention needing to cargo install with a feature.

Documentation: https://rust-lang.github.io/rust-bindgen/code-formatting.html

The bindgen documentation explictly mentions being able
to use `--formatter=prettyplease`, but currently the
prettyplease feature has no way to be enabled.
Enable it by default, since the documentation also doesn't mention
needing to cargo install with a feature.

Documentation: https://rust-lang.github.io/rust-bindgen/code-formatting.html
@pvdrz
Copy link
Contributor

pvdrz commented Mar 26, 2024

thanks! could you document this change in the changelog?

@jschwe
Copy link
Contributor Author

jschwe commented Mar 27, 2024

Sure - added an entry to the changelog.

@pvdrz pvdrz merged commit 740ec66 into rust-lang:main Mar 27, 2024
33 checks passed
@jschwe jschwe deleted the jschwender/pretty_please_cli branch March 27, 2024 06:40
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.

None yet

2 participants