0b6cae0dc7
If a `+` is encountered in the middle of parsing a BigUint, this should generate an `ParseIntError::InvalidDigit`. Since we can't create that directly, we get it by trying to parse a `u64` from this point, but of course `+` is a perfectly valid prefix to a `u64`. Now we include the previous character in the string passed to `u64`, so it has proper parsing context to understand what's in error. Fixes #268. |
||
---|---|---|
.. | ||
tests | ||
algorithms.rs | ||
bigint.rs | ||
biguint.rs | ||
lib.rs | ||
macros.rs |