mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
d1f0f04a48
Add a new lint, `manual-strip`, that suggests using the `str::strip_prefix` and `str::strip_suffix` methods introduced in Rust 1.45 when the same functionality is performed 'manually'. Closes #5734