naive startswith can cover wrong directories for "mentions"
ehuss opened this issue · 1 comments
ehuss commented
Noticed in rust-lang/rust#69928 (comment), the entry src/tools/cargo
also matches src/tools/cargotest
.
Perhaps it should only match full-components? (Similar to how Rust's starts_with works.)
pietroalbini commented
Yep, this is just a bug.