From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
<pbs-devel@lists.proxmox.com>,
Maximiliano Sandoval <m.sandoval@proxmox.com>
Subject: [pbs-devel] applied-series: [PATCH offline-mirror 1/2] remove needless borrows
Date: Wed, 21 Feb 2024 12:14:40 +0100 [thread overview]
Message-ID: <46f5cd23-dbb9-4ba6-a324-38b36800aa34@proxmox.com> (raw)
In-Reply-To: <20240214092730.168795-1-m.sandoval@proxmox.com>
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@proxmox.com>
> ---
> src/medium.rs | 2 +-
> src/pool.rs | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
>
applied both patches, thanks!
prev parent reply other threads:[~2024-02-21 11:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-14 9:27 [pbs-devel] " Maximiliano Sandoval
2024-02-14 9:27 ` [pbs-devel] [PATCH offline-mirror 2/2] verifier: elide explicit lifetime Maximiliano Sandoval
2024-02-21 11:14 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46f5cd23-dbb9-4ba6-a324-38b36800aa34@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=m.sandoval@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal