340 music #874
GitHub Actions / clippy
failed
Dec 11, 2024 in 1s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.85.0-nightly (33c245b9e 2024-12-10)
- cargo 1.85.0-nightly (20a443231 2024-12-06)
- clippy 0.1.85 (33c245b9e9 2024-12-10)
Annotations
Check failure on line 80 in cosmos_client/src/audio/music/dynamic_music.rs
github-actions / clippy
manual case-insensitive ASCII comparison
error: manual case-insensitive ASCII comparison
--> cosmos_client/src/audio/music/dynamic_music.rs:80:20
|
80 | if extension.to_ascii_lowercase() != "ogg" {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ignore_case_cmp
= note: `-D clippy::manual-ignore-case-cmp` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_ignore_case_cmp)]`
help: consider using `.eq_ignore_ascii_case()` instead
|
80 | if !extension.eq_ignore_ascii_case("ogg") {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Check failure on line 80 in cosmos_client/src/audio/music/dynamic_music.rs
github-actions / clippy
manual case-insensitive ASCII comparison
error: manual case-insensitive ASCII comparison
--> cosmos_client/src/audio/music/dynamic_music.rs:80:20
|
80 | if extension.to_ascii_lowercase() != "ogg" {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ignore_case_cmp
= note: `-D clippy::manual-ignore-case-cmp` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_ignore_case_cmp)]`
help: consider using `.eq_ignore_ascii_case()` instead
|
80 | if !extension.eq_ignore_ascii_case("ogg") {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Loading