mirror of
				https://git.proxmox.com/git/proxmox
				synced 2025-11-04 03:07:54 +00:00 
			
		
		
		
	
				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>
		
	
					 | 
			||
|---|---|---|
| .. | ||
| debian | ||
| src | ||
| Cargo.toml | ||