rust/lintcheck/src
Timo e8185ec091
Extend implicit_clone to handle to_string calls (#14177)
Put another way, merge `string_to_string` into `implicit_clone`, as
suggested here:
https://github.com/rust-lang/rust-clippy/issues/14173#issuecomment-2645846915

Note: [I
wrote](b8913894a1)
this comment:
6cdb7f68c3/clippy_lints/src/methods/implicit_clone.rs (L43-L45)

Here is the context for why I wrote it:
https://github.com/rust-lang/rust-clippy/pull/7978#discussion_r769128853

Regardless, it's probably time for the comment to go away. Extending
`implicit_clone` to handle `to_string` calls yields many hits within
Clippy's codebase.

changelog: extend `implicit_clone` to handle `to_string` calls
2025-08-02 11:41:00 +00:00
..
config.rs Create summary comment for lintcheck runs 2025-05-16 01:07:56 +00:00
driver.rs Formatting 2024-09-22 20:52:15 +02:00
input.rs Extend implicit_clone to handle to_string calls (#14177) 2025-08-02 11:41:00 +00:00
json.rs Output lintcheck summary HTML markdown in order 2025-07-30 09:49:27 +02:00
main.rs Create summary comment for lintcheck runs (#14816) 2025-07-09 08:29:50 +00:00
output.rs Extend implicit_clone to handle to_string calls (#14177) 2025-08-02 11:41:00 +00:00
popular_crates.rs Merge commit 'b794b8e08c' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
recursive.rs Fix various typos in lint messages, descriptions and comments 2025-03-24 16:04:32 +01:00