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

Deprecate the Formatter::flags method, fix #46237 #46284

Merged
merged 1 commit into from
Nov 27, 2017

Conversation

SimonSapin
Copy link
Contributor

This fixes #46237.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @sfackler (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@sfackler
Copy link
Member

@alexcrichton this isn't going to mess with any of the fmt impl's internals, right?

@SimonSapin
Copy link
Contributor Author

git grep '\.flags()' (excluding submodules) shows zero matches. I’m counting on CI to tell us if something else needs to be adjusted.

@sfackler
Copy link
Member

Ah great!

@bors r+

@bors
Copy link
Contributor

bors commented Nov 26, 2017

📌 Commit 5e11c8f has been approved by sfackler

@sfackler
Copy link
Member

cc @rust-lang/libs

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

LGTM

@bors
Copy link
Contributor

bors commented Nov 27, 2017

⌛ Testing commit 5e11c8f with merge 8270faf...

bors added a commit that referenced this pull request Nov 27, 2017
Deprecate the Formatter::flags method, fix #46237

This fixes #46237.
@bors
Copy link
Contributor

bors commented Nov 27, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: sfackler
Pushing 8270faf to master...

@bors bors merged commit 5e11c8f into rust-lang:master Nov 27, 2017
@SimonSapin SimonSapin deleted the deprecate-formatter-flags branch November 27, 2017 08:43
@bluss bluss added the relnotes Marks issues that should be documented in the release notes of the next release. label Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes Marks issues that should be documented in the release notes of the next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why does fmt::Formatter have a public flags() method? Should we deprecate it?
6 participants