Merge pull request #543 from LnL7/push-char-warning

fix single-char-push-str clippy warning
This commit is contained in:
Daiderd Jordan 2020-12-10 21:49:13 +01:00 committed by GitHub
commit aad9533d4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -557,7 +557,7 @@ impl MetricCollector {
}})
.collect();
output.push_str(&values.join(\"\n\"));
output.push_str(\"\n\");
output.push('\\n');
",
&mtype.metric_name(),
&mtype.description(),