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 missing space before unit #562

Merged
merged 1 commit into from Jul 27, 2023

Conversation

Error-42
Copy link
Contributor

(I'm new to contributing, please be pedantic (but not opinionated) about the way I contribute.)

The storage unit without prefix (B, but not KB, KiB...) is not separated from the number by a space, which is incorrect (see 5.3.3 here) and inconsistent with the formatting of prefixed units (KB, KiB...) in this library.

This is a breaking change and requires the modification of one test.

@djc djc requested a review from chris-laplante July 27, 2023 10:02
Copy link
Collaborator

@djc djc left a comment

Choose a reason for hiding this comment

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

This seems good for consistency if nothing else. @chris-laplante, what do you think?

@chris-laplante
Copy link
Collaborator

This seems good for consistency if nothing else. @chris-laplante, what do you think?

Makes sense to me.

@chris-laplante
Copy link
Collaborator

Thanks, @Error-42 :)

@chris-laplante chris-laplante merged commit a1d1367 into console-rs:main Jul 27, 2023
9 checks passed
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