Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing negative hexadecimal integers
Rust's from_str_radix() method doesn't support negative hexadecimal integer values such as "-0xA". This commit fixes this by special-casing such inputs. Changelog: fixed
- Loading branch information
1 parent
4325ed9
commit 8b670e6
Showing
3 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters