Update dependencies #719
GitHub Actions / clippy
succeeded
Dec 7, 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.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 130 in src/update.rs
github-actions / clippy
redundant guard
warning: redundant guard
--> src/update.rs:130:42
|
130 | Some((sha256_hash, file)) if file == "fp" => Some(sha256_hash.to_owned()),
| ^^^^^^^^^^^^
|
= 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
|
130 - Some((sha256_hash, file)) if file == "fp" => Some(sha256_hash.to_owned()),
130 + Some((sha256_hash, "fp")) => Some(sha256_hash.to_owned()),
|
Check warning on line 191 in src/notebooks.rs
github-actions / clippy
use of `unwrap_or_else` to construct default value
warning: use of `unwrap_or_else` to construct default value
--> src/notebooks.rs:191:45
|
191 | .front_matter(args.front_matter.unwrap_or_else(FrontMatter::new))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
Loading