Update Rust crate trust-dns-resolver to 0.23 #50
GitHub Actions / clippy
succeeded
Nov 16, 2023 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
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 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