summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2020-09-15 00:05:17 +0200
committerBert Belder <bertbelder@gmail.com>2020-09-15 00:11:20 +0200
commit3da20d19a14ab6838897d281f1b11e49d68bd1a7 (patch)
tree8ff3de14753efbece84691af8ce554ec0d5241a2 /cli/main.rs
parent5248a711fff3b48d89c2a5c579c6e774c47510ad (diff)
chore: fix clippy warnings (#7476)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 5f7946448..37d5edc58 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -664,7 +664,7 @@ pub fn main() {
.format(|buf, record| {
let mut target = record.target().to_string();
if let Some(line_no) = record.line() {
- target.push_str(":");
+ target.push(':');
target.push_str(&line_no.to_string());
}
if record.level() >= Level::Info {