Skip to content

Conversation

@linkmauve
Copy link
Contributor

In 8cc0cf0, clippy suggested to replace a String::to_string() with a Clone::clone(), without noticing that the value was passed to Hash::hash() anyway which borrows the value.

In 8cc0cf0, clippy suggested to replace
a String::to_string() with a Clone::clone(), without noticing that the
value was passed to Hash::hash() anyway which borrows the value.
@thomas-zahner
Copy link
Member

Ah thanks for glancing over my commit. 😄
Noticed one very similar case which I did address but missed this one.

@thomas-zahner thomas-zahner merged commit 103e07f into lycheeverse:master Oct 31, 2025
6 checks passed
@mre mre mentioned this pull request Oct 31, 2025
@linkmauve linkmauve deleted the better-fix-clippy-lint branch October 31, 2025 12:53
@mre mre mentioned this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants