]> git.proxmox.com Git - proxmox-offline-mirror.git/commit
remove needless borrows
authorMaximiliano Sandoval <m.sandoval@proxmox.com>
Wed, 14 Feb 2024 09:27:29 +0000 (10:27 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Feb 2024 11:13:30 +0000 (12:13 +0100)
commita3fe64206251f81cfb8e5b4082c9d366973065d1
treef02f79b200839d93c20ae28e614b78bc50d844a4
parent5d183d04a6cf32b8364dee325988f991a79f0ca3
remove needless borrows

Fixes the clippy lint
```
warning: the borrowed expression implements the required traits
   --> src/medium.rs:143:9
    |
143 |         &statefile(base),
    |         ^^^^^^^^^^^^^^^^ help: change this to: `statefile(base)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
```

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
src/medium.rs
src/pool.rs