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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix order of std-format-spec field descriptions. #5246

Merged
merged 1 commit into from Aug 22, 2022

Conversation

mordante
Copy link
Contributor

@mordante mordante commented Feb 1, 2022

Moves the wording describing the zero-padding before the description of
the width; matching the order of the fields in the std-format-spec.

The swapped order was introduced in the initial paper
P0645R10 Text formatting
Since both fields had one paragraph description it wasn't too noticeable.
P1868R2 馃 width: clarifying units of width and precision in std::format
expanded the wording of the width. Now it's not so easy to find the
description of the zero-padding field.

@tkoeppe tkoeppe added the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Aug 18, 2022
@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 18, 2022

Could you please rebase this?

Moves the wording describing the zero-padding before the description of
the width; matching the order of the fields in the std-format-spec.

The swapped order was introduced in the initial <format> paper
  P0645R10 Text formatting
Since both fields had one paragraph description it wasn't too noticeable.
  P1868R2 馃 width: clarifying units of width and precision in std::format
expanded the wording of the width. Now it's not so easy to find the
description of the zero-padding field.
@tkoeppe tkoeppe removed the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Aug 19, 2022
@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 22, 2022

@jwakely, @CaseyCarter: thoughts on this swap?

Copy link
Member

@jwakely jwakely left a comment

Choose a reason for hiding this comment

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

Seems reasonable.

@tkoeppe tkoeppe merged commit 47b0e73 into cplusplus:main Aug 22, 2022
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

3 participants