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

fix: pad_end function does not accept the 0 position #5319

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

kartva
Copy link
Member

@kartva kartva commented Jul 31, 2024

The pad_end function in the fixed_decimal crate previously did not perform any action when passed a position parameter less than or equal to zero.

However, pad_end with the argument zero is a valid operation that should not be disallowed.

This commit rectifies this flaw.

…perform any action when passed a position parameter less than or equal to zero.

However, pad_end with the argument zero is a valid operation that should not be disallowed.

This commit rectifies this flaw.
@sffc sffc merged commit 5a176c1 into unicode-org:main Jul 31, 2024
28 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.

2 participants