datastore: inline some format variables

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-13 12:41:45 +02:00
parent 1ddfae5499
commit addcb7803e

View File

@ -713,9 +713,7 @@ impl BackupNamespace {
.strip_prefix(&source_prefix.inner[..])
.ok_or_else(|| {
format_err!(
"Failed to map namespace - {} is not a valid prefix of {}",
source_prefix,
self
"Failed to map namespace - {source_prefix} is not a valid prefix of {self}",
)
})?;