[pbs-devel] [PATCH proxmox-backup] fmt: run cargo fmt

Stefan Lendl s.lendl at proxmox.com
Fri Jan 12 15:32:52 CET 2024


Signed-off-by: Stefan Lendl <s.lendl at 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





More information about the pbs-devel mailing list