proxmox/proxmox-rrd
Maximiliano Sandoval b7100ecc1e rrd_map: remove unnecessary use of get().is_some()
Fixes:

warning: unnecessary use of `get(rel_path).is_some()`
   --> proxmox-rrd/src/cache/rrd_map.rs:107:21
    |
107 |         if self.map.get(rel_path).is_some() {
    |                     ^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains_key(rel_path)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-08-28 13:09:15 +02:00
..
debian rrd: bump to 0.3.1-1 2024-08-14 11:47:35 +02:00
examples rrd: fixup examples with the renamed types 2024-02-21 12:28:10 +01:00
src rrd_map: remove unnecessary use of get().is_some() 2024-08-28 13:09:15 +02:00
tests rrd: spell out hard to understand abbreviations in public types 2024-02-01 10:32:19 +01:00
Cargo.toml rrd: bump to 0.3.1-1 2024-08-14 11:47:35 +02:00