We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.clone()
1 parent 89f799e commit 62177a2Copy full SHA for 62177a2
numbat/src/column_formatter.rs
@@ -37,9 +37,8 @@ impl ColumnFormatter {
37
38
if min_num_columns < 1 {
39
for entry in entries {
40
- result +=
41
- Markup::from(FormattedString(OutputType::Normal, format.clone(), entry))
42
- + m::whitespace(" ".repeat(self.padding));
+ result += Markup::from(FormattedString(OutputType::Normal, format, entry))
+ + m::whitespace(" ".repeat(self.padding));
43
}
44
return result;
45
@@ -81,7 +80,7 @@ impl ColumnFormatter {
81
80
82
result += Markup::from(FormattedString(
83
OutputType::Normal,
84
- format.clone(),
+ format,
85
(*entry).into(),
86
));
87
result += m::whitespace(" ".repeat(whitespace_length));
0 commit comments