proxmox/proxmox-rrd
Maximiliano Sandoval 5586eeaba8 rrd_map: remove unneded return statement
Fixes:

warning: unneeded `return` statement
   --> proxmox-rrd/src/cache/rrd_map.rs:117:13
    |
117 |             return Ok(true);
    |             ^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
    |
117 -             return Ok(true);
117 +             Ok(true)
    |

warning: unneeded `return` statement
   --> proxmox-rrd/src/cache/rrd_map.rs:119:13
    |
119 |             return Ok(false);
    |             ^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
    |
119 -             return Ok(false);
119 +             Ok(false)

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 unneded return statement 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