From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
<pbs-devel@lists.proxmox.com>,
Wolfgang Bumiller <w.bumiller@proxmox.com>
Subject: [pbs-devel] applied: [PATCH backup] tree-wide: replace serde_json::from_value(a_value.clone())
Date: Tue, 12 Apr 2022 16:55:09 +0200 [thread overview]
Message-ID: <5d2a2d16-0952-ff90-6a1b-bc1054cff3e1@proxmox.com> (raw)
In-Reply-To: <20220412103950.70875-1-w.bumiller@proxmox.com>
On 12.04.22 12:39, Wolfgang Bumiller wrote:
> `&Value` itself implements `Deserializer` and can therefore
> be passed directly to `T::deserialize` without requiring an
> intermediate `clone()`. (This also enables optionally
> borrowing strings if the result has a short enough lifetime)
>
> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
> ---
> pbs-client/Cargo.toml | 1 +
> pbs-client/src/tools/key_source.rs | 2 +-
> pbs-datastore/src/manifest.rs | 4 ++--
> proxmox-file-restore/src/main.rs | 4 ++--
> src/acme/plugin.rs | 2 +-
> src/api2/config/acme.rs | 2 +-
> src/api2/node/network.rs | 4 ++--
> src/bin/proxmox_tape/media.rs | 3 ++-
> 8 files changed, 12 insertions(+), 10 deletions(-)
>
>
applied, thanks!
prev parent reply other threads:[~2022-04-12 14:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-12 10:39 [pbs-devel] " Wolfgang Bumiller
2022-04-12 14:55 ` 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=5d2a2d16-0952-ff90-6a1b-bc1054cff3e1@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
--cc=w.bumiller@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox