https://github.com/evant/nom-double-parse-issue
https://github.com/evant/nom-double-parse-issue
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/evant/nom-double-parse-issue
- Owner: evant
- Created: 2019-11-29T22:50:45.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2020-06-14T22:50:10.000Z (about 6 years ago)
- Last Synced: 2025-02-23T18:32:08.374Z (over 1 year ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nom double issue
The `number:complete::double` parser returns an unexpected result when passed the input `". "`. I
would expect it to fail, but it returns `Ok((" ", 0.0))`. If the lexical feature is disabled, then
the expected error of: `Err(Error((" ", Digit))` is returned.