mirror of
https://git.proxmox.com/git/proxmox
synced 2025-10-04 07:09:37 +00:00
![]() Fixes the single_match clippy lint: ``` warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> proxmox-apt/src/repositories/mod.rs:41:9 | 41 | / match digest { 42 | | Some(digest) => common_raw.extend_from_slice(&digest[..]), 43 | | None => (), 44 | | } | |_________^ help: try: `if let Some(digest) = digest { common_raw.extend_from_slice(&digest[..]) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default ``` Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> |
||
---|---|---|
.. | ||
debian | ||
src | ||
tests | ||
Cargo.toml |