Skip to content

style(lib::config::v2::server::v1_interop): fix nightly clippy complaining about useless conversions #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

hasezoey
Copy link
Contributor

This PR fixes a issue with the nightly clippy runs that now started complaining about this useless conversion

error: useless conversion to the same type: `std::path::PathBuf`
   --> lib/src/config/v2/server/mod.rs:469:56
    |
469 |                 music_dirs: value.music_dir.into_iter().map(Into::into).collect(),
    |                                                        ^^^^^^^^^^^^^^^^ help: consider removing
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
    = note: `-D clippy::useless-conversion` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`

@tramhao tramhao merged commit 5a8eda5 into tramhao:master Feb 25, 2025
5 checks passed
@hasezoey hasezoey deleted the fixNightlyClippy branch February 25, 2025 08:38
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