[pbs-devel] applied-series: [PATCH offline-mirror 1/2] remove needless borrows

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 21 12:14:40 CET 2024


Am 14/02/2024 um 10:27 schrieb Maximiliano Sandoval:
> 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 at proxmox.com>
> ---
>  src/medium.rs | 2 +-
>  src/pool.rs   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
>

applied both patches, thanks!




More information about the pbs-devel mailing list