temporary fork of saphyr with serde support merged into main.
Find a file
Ethiraric cbba46fa72 Have ScanError::new take a String.
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.
2024-04-07 02:04:45 +02:00
parser Have ScanError::new take a String. 2024-04-07 02:04:45 +02:00