rust-lang/rust-clippy

Refactor the `clippy_lints/src/strings.rs` file

Open

#14,253 opened on Feb 19, 2025

View on GitHub
 (16 comments) (0 reactions) (1 assignee)Rust (10,406 stars) (1,391 forks)batch import
E-help-wantedgood first issue

Description

Description

With the exception of string_add, string_add_assign and string_slice (which share an implementation), all lints in strings.rs could be moved into the methods module in order to share the tree traversal with other method call and function call lints.

Contributor guide