-
Notifications
You must be signed in to change notification settings - Fork 831
Make space optional in amount with denomination #1521
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
Make space optional in amount with denomination #1521
Conversation
concept ACK from me, but this part of the codebase has seen a huge amount of debate that I did not participate in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK but I think it'll make things like #1406 more challenging. Should be doable though.
6cee7f3
to
3e5e879
Compare
3e5e879
to
da6423b
Compare
I finished up the tests and the implementation for SignedAmount, so this should be ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Apart from MSRV issue this looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, we require that each commit passes test suite. But you'll need to at least fix clippy issue anyway, so just rebase and squash when you do.
616ae4f
to
16c49df
Compare
Ahh, got it. Fixed and squashed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 16c49df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 16c49df
I didn't add tests for parsing with no space, but wanted to get a PR up to show the approach.
Fixes #1519.