fix(oma-fetch): add missing download_local
real file validate checksum
#5626
GitHub Actions / clippy
succeeded
Mar 4, 2025 in 1s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.85.0 (4d91de4e4 2025-02-17)
- cargo 1.85.0 (d73d2caf9 2024-12-31)
- clippy 0.1.85 (4d91de4e48 2025-02-17)
Annotations
Check warning on line 675 in oma-fetch/src/download.rs
github-actions / clippy
manual implementation of `Option::map`
warning: manual implementation of `Option::map`
--> oma-fetch/src/download.rs:671:21
|
671 | let mut v = if let Some(v) = &self.entry.hash {
| _____________________^
672 | | Some(v.get_validator())
673 | | } else {
674 | | None
675 | | };
| |_________^ help: try: `self.entry.hash.as_ref().map(|v| v.get_validator())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
= note: `#[warn(clippy::manual_map)]` on by default
Loading