Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This fixes an issue where we attempt to create a slice of bytes from a string, assuming that two bytes doesn't end up in the middle of a Unicode code point. Instead of comparing against the slice of bytes the code now uses the String::starts_with() method to compare against the same &str. - Also adds a dev profile to Cargo.toml, which enables debug symbols and turns down optimization.
- Loading branch information