Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
entry: Use
strip_prefix
(alexcrichton#329)
Minor drive by code cleanup; `strip_prefix` is just more readable and more bug-resistant than manually doing it with `starts_with` combined with slicing. (cherry picked from commit 2224f6e)
- Loading branch information