From: Stefan Lendl <s.lendl@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] fmt: run cargo fmt
Date: Fri, 12 Jan 2024 15:32:52 +0100 [thread overview]
Message-ID: <20240112143252.344313-1-s.lendl@proxmox.com> (raw)
Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
---
pbs-datastore/src/datastore.rs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/pbs-datastore/src/datastore.rs b/pbs-datastore/src/datastore.rs
index a78f44aa..de948821 100644
--- a/pbs-datastore/src/datastore.rs
+++ b/pbs-datastore/src/datastore.rs
@@ -605,9 +605,7 @@ impl DataStore {
owner
.trim_end() // remove trailing newline
.parse()
- .map_err(|err| {
- format_err!("parsing owner for {backup_group} failed: {err}")
- })
+ .map_err(|err| format_err!("parsing owner for {backup_group} failed: {err}"))
}
pub fn owns_backup(
--
2.42.0
reply other threads:[~2024-01-12 14:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20240112143252.344313-1-s.lendl@proxmox.com \
--to=s.lendl@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox