temporary fork of saphyr with serde support merged into main.
cbba46fa72
Internally, `ScanError` stores a `String`. Having `new` take a `&str` misleadingly indicates that it stores a `&str`. This commit changes `new` so that it takes a `String`, and adds a convenience method, `new_str` that takes a `&str` and allocates a `String` for it. |
||
---|---|---|
parser |