Update softprops/action-gh-release action to v2 #57
GitHub Actions / clippy
succeeded
Mar 8, 2024 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.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check warning on line 18 in src/util.rs
github-actions / clippy
matching over `()` is more explicit
warning: matching over `()` is more explicit
--> src/util.rs:18:16
|
18 | Ok(_) => Ok(()),
| ^ help: use `()` instead of `_`: `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
note: the lint level is defined here
--> src/main.rs:2:9
|
2 | #![warn(clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::ignored_unit_patterns)]` implied by `#[warn(clippy::pedantic)]`
Check warning on line 46 in src/util/time.rs
github-actions / clippy
accessing first element with `list_fuzzy(&timezones, timezone, 1).get(0)`
warning: accessing first element with `list_fuzzy(&timezones, timezone, 1).get(0)`
--> src/util/time.rs:46:19
|
46 | Err(match list_fuzzy(&timezones, timezone, 1).get(0) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `list_fuzzy(&timezones, timezone, 1).first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
Check warning on line 245 in src/directory.rs
github-actions / clippy
redundant guard
warning: redundant guard
--> src/directory.rs:245:24
|
245 | Some(e) if e == "metadata" => (),
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
= note: `#[warn(clippy::redundant_guards)]` on by default
help: try
|
245 - Some(e) if e == "metadata" => (),
245 + Some("metadata") => (),
|
Loading