stringedits
The stringedits
package contains the Edit
trait & associated iterators for simple edits of strings
This is primarially a library crate for the project spellcheck_toy
Usage
Add stringedits = "0.1.4" under [dependencies] in your Cargo.toml, then bring the Edit trait into scope.
use Edit;
let replaces = "ab".replaces..join;
let want = concat!;
assert_eq!;
Author
Written by Efron Licht (efron.python@gmail.com)
License
Available under the MIT License