mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 14:36:49 +00:00
![]() 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 |
||
---|---|---|
.. | ||
lintlist | ||
driver.rs | ||
main.rs |