We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37255b0 commit ec73cdfCopy full SHA for ec73cdf
src/entry.rs
@@ -168,7 +168,7 @@ impl KdlEntry {
168
fmt.autoformat_keep = true;
169
}
170
171
-
+
172
/// Auto-formats this entry.
173
pub fn autoformat(&mut self) {
174
// TODO once MSRV allows:
@@ -225,7 +225,7 @@ impl KdlEntry {
225
// take care of that.
226
KdlValue::Bool(_) | KdlValue::Null => format!("{}", self.value),
227
// These should be fine as-is?
228
- KdlValue::Integer(_) | KdlValue::Float(_) => x.value_repr.clone(),
+ KdlValue::Integer(_) | KdlValue::Float(_) => x.value_repr,
229
230
});
231
0 commit comments