formatting fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-10-05 12:04:22 +02:00
parent 9fa9c76a9c
commit 19dc729b7b

View File

@ -282,7 +282,13 @@ pub fn parse_rfc3339(input_str: &str) -> Result<i64, Error> {
Ok(epoch)
})
.map_err(|err| format_err!("failed to parse rfc3339 timestamp ({:?}) - {}", input_str, err))
.map_err(|err| {
format_err!(
"failed to parse rfc3339 timestamp ({:?}) - {}",
input_str,
err
)
})
}
#[test]