rust-lang/highfive

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.)

Yep, this is just a bug.