diff --git a/proxmox/src/tools/time/mod.rs b/proxmox/src/tools/time/mod.rs index 13940126..f7ae84f5 100644 --- a/proxmox/src/tools/time/mod.rs +++ b/proxmox/src/tools/time/mod.rs @@ -282,7 +282,13 @@ pub fn parse_rfc3339(input_str: &str) -> Result { 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]