forked from Proxmox/proxmox
f8f57540c6
Fixes: warning: match can be simplified with `.unwrap_or_default()` --> proxmox-apt/src/cache_api.rs:77:28 | 77 | let mut notified = match cache.notified { | ____________________________^ 78 | | Some(notified) => notified, 79 | | None => std::collections::HashMap::new(), 80 | | }; | |_________^ help: replace it with: `cache.notified.unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> |
||
---|---|---|
.. | ||
debian | ||
src | ||
tests | ||
Cargo.toml |