From 6f0187eef5eb6b21eafce87e36612f435aeb3804 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 27 Jan 2023 11:19:44 -0600 Subject: [PATCH] style: Make clippy happy --- crates/toml_edit/src/parser/datetime.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/toml_edit/src/parser/datetime.rs b/crates/toml_edit/src/parser/datetime.rs index c4098f54..63a76165 100644 --- a/crates/toml_edit/src/parser/datetime.rs +++ b/crates/toml_edit/src/parser/datetime.rs @@ -260,9 +260,7 @@ mod test { second: 0, nanosecond: 0, }), - offset: Some(Offset::Custom { - minutes: -7 * 60 + 0, - }), + offset: Some(Offset::Custom { minutes: -7 * 60 }), }, ), (