💡 remove obsolete comment for deleted block #1004
Annotations
2 errors and 1 warning
Run clechasseur/rs-clippy-check@v3:
src/modules/display/historical.rs#L143
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/modules/display/historical.rs:143:47
|
143 | for line in hourly::prep_historical(weather, ¶ms)? {
| ^^^^^^^ help: change this to: `params`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> src/main.rs:1:9
|
1 | #![deny(clippy::all)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(clippy::all)]`
|
Run clechasseur/rs-clippy-check@v3
Clippy has exited with exit code 101
|
Run clechasseur/rs-clippy-check@v3:
src/modules/display/hourly.rs#L372
warning: this match arm has an identical body to another arm
--> src/modules/display/hourly.rs:372:3
|
372 | Precipitation::probability => "ₘₘ",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: try changing either arm body
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms
note: the lint level is defined here
--> src/main.rs:2:9
|
2 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::match_same_arms)]` implied by `#[warn(clippy::pedantic)]`
help: or try merging the arm patterns
|
372 | Precipitation::probability | Precipitation::mm => "ₘₘ",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: and remove this obsolete arm
|
368 - Precipitation::mm => "ₘₘ",
|
|
Loading