librespot icon indicating copy to clipboard operation
librespot copied to clipboard

Fix clippy warnings

Open yubiuser opened this issue 1 year ago • 1 comments

Fixes a clippy warning that occured in recent tests regarding map_clone (https://rust-lang.github.io/rust-clippy/master/index.html#/map_clone) and file creation without explicite defining truncation behavior (https://rust-lang.github.io/rust-clippy/master/index.html#/suspicious_open_options)

yubiuser avatar Mar 31 '24 11:03 yubiuser

The last commit addressed changes in the beta toolchain that are a consequence of the expansion of redundant import checking. I removed the duplicate imports, another way would be to disable the warning. There is some discussion ongoing regarding the change: https://github.com/rust-lang/rust/issues/121315 https://github.com/rust-lang/rust/issues/121708

yubiuser avatar Mar 31 '24 19:03 yubiuser

Thanks a lot for this, great to have the build pass again!

roderickvd avatar May 11 '24 10:05 roderickvd