Rust `ends_with` and `strip_prefix` behavior differences in `Path` and `str`

2022-07-06

As I'm writing an ignore library, I'm having subtle bugs caused by Rust's Path behavior.