chore: 📝 Add linguist exclusion list for Github stats #107
GitHub Actions / clippy
succeeded
Nov 27, 2023 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0 (79e9716c9 2023-11-13)
- cargo 1.74.0 (ecb9851af 2023-10-18)
- clippy 0.1.74 (79e9716 2023-11-13)
Annotations
Check warning on line 308 in alvr/dashboard/src/dashboard/components/setup_wizard.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> alvr/dashboard/src/dashboard/components/setup_wizard.rs:308:5
|
308 | fs::write(&audio_script_path, response.into_string()?);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
|
308 | let _ = fs::write(&audio_script_path, response.into_string()?);
| +++++++
Check warning on line 178 in alvr/dashboard/src/dashboard/components/setup_wizard.rs
github-actions / clippy
unnecessary use of `to_string`
warning: unnecessary use of `to_string`
--> alvr/dashboard/src/dashboard/components/setup_wizard.rs:178:45
|
178 | ... &audio_script_path.to_string_lossy().to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `audio_script_path.to_string_lossy().as_ref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
Check warning on line 174 in alvr/dashboard/src/dashboard/components/setup_wizard.rs
github-actions / clippy
unnecessary use of `to_string`
warning: unnecessary use of `to_string`
--> alvr/dashboard/src/dashboard/components/setup_wizard.rs:174:45
|
174 | ... &audio_script_path.to_string_lossy().to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `audio_script_path.to_string_lossy().as_ref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
= note: `#[warn(clippy::unnecessary_to_owned)]` on by default
Loading