From ec73cdfa05c6486ff74bd84f8077341c9a7ec55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Fri, 20 Dec 2024 02:10:33 -0800 Subject: [PATCH] fix(misc): other tiny clippy/fmt issues --- src/entry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entry.rs b/src/entry.rs index 727bbd8..9f5ddbe 100644 --- a/src/entry.rs +++ b/src/entry.rs @@ -168,7 +168,7 @@ impl KdlEntry { fmt.autoformat_keep = true; } } - + /// Auto-formats this entry. pub fn autoformat(&mut self) { // TODO once MSRV allows: @@ -225,7 +225,7 @@ impl KdlEntry { // take care of that. KdlValue::Bool(_) | KdlValue::Null => format!("{}", self.value), // These should be fine as-is? - KdlValue::Integer(_) | KdlValue::Float(_) => x.value_repr.clone(), + KdlValue::Integer(_) | KdlValue::Float(_) => x.value_repr, } });