varunsrin / rusty_money

Money library for Rust
MIT License
85 stars 32 forks source link

fix: remove spare sanity check that limits the Money::from_str #85

Closed oti-dev closed 1 year ago

oti-dev commented 1 year ago

Looks like there's a redundant sanity check that makes Money::from_str fail when it shouldn't. Doesn't look required as no tests fail after removing it.

Resolves: https://github.com/varunsrin/rusty_money/issues/83