Skip to content

Commit ec73cdf

Browse files
committed
fix(misc): other tiny clippy/fmt issues
1 parent 37255b0 commit ec73cdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/entry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl KdlEntry {
168168
fmt.autoformat_keep = true;
169169
}
170170
}
171-
171+
172172
/// Auto-formats this entry.
173173
pub fn autoformat(&mut self) {
174174
// TODO once MSRV allows:
@@ -225,7 +225,7 @@ impl KdlEntry {
225225
// take care of that.
226226
KdlValue::Bool(_) | KdlValue::Null => format!("{}", self.value),
227227
// These should be fine as-is?
228-
KdlValue::Integer(_) | KdlValue::Float(_) => x.value_repr.clone(),
228+
KdlValue::Integer(_) | KdlValue::Float(_) => x.value_repr,
229229
}
230230
});
231231

0 commit comments

Comments
 (0)