proxmox/proxmox-access-control
Maximiliano Sandoval cb4acf6d93 use contains_key instead of .get().is_{some, none}()
Fixes the clippy lints:

warning: unnecessary use of `get("lo").is_none()`
   --> proxmox-network-api/src/config/parser.rs:603:30
    |
603 |         if config.interfaces.get("lo").is_none() {
    |            ------------------^^^^^^^^^^^^^^^^^^^
    |            |
    |            help: replace it with: `!config.interfaces.contains_key("lo")`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check
    = note: `#[warn(clippy::unnecessary_get_then_check)]` on by default

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-06-28 10:22:58 +02:00
..
debian access-control: bump to 0.1.1-1 2024-06-20 13:56:31 +02:00
src use contains_key instead of .get().is_{some, none}() 2024-06-28 10:22:58 +02:00
Cargo.toml access-control: bump to 0.1.1-1 2024-06-20 13:56:31 +02:00