mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-05 09:17:59 +03:00
f619f3e0e7
Fixes the clippy warning: warning: this multiplication by -1 can be written more succinctly --> pbs-client/src/tools/mod.rs:700:58 | 700 | SignedDuration::Negative(val) => -1 * i64::try_from(val.as_secs())?, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-i64::try_from(val.as_secs())?` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply = note: `#[warn(clippy::neg_multiply)]` on by default Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |