mirror of https://github.com/helix-editor/helix
The `Name` variant's inner type can be switched to `RopeSlice` since the parent commit removed the usage of `&str`. In doing this we need to switch from a regular `Regex` to a `rope::Regex`, which is mostly a matter of renaming the type. The `Filename` and `Shebang` variants can also switch to `RopeSlice` which avoids allocations in cases where the text doesn't reside on different chunks of the rope. Previously `Filename`'s `Cow` was always the owned variant because of the conversion to a `PathBuf`. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml |