proxmox/proxmox-apt
Maximiliano Sandoval 1b5e8ee0dd apt: repositories: use if-let instead of match for Option
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>
2024-12-03 13:44:05 +01:00
..
debian apt: bump version to 0.11.5-1 2024-11-11 21:10:23 +01:00
src apt: repositories: use if-let instead of match for Option 2024-12-03 13:44:05 +01:00
tests apt: add Ceph Squid to standard repos for PVE 2024-11-11 21:08:10 +01:00
Cargo.toml apt: bump version to 0.11.5-1 2024-11-11 21:10:23 +01:00