Implements `trim_prefix` and `trim_suffix` methods for both `slice` and `str` types which remove at most one occurrence of a prefix/suffix while always returning a string/slice (rather than Option), enabling easy method chaining. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||