From f7a0f17ce47e15f4cb39b49fecf4e252ce7897c3 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 6 Apr 2020 13:19:18 +0200 Subject: properly add newline after filenames --- src/output/formats.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output/formats.rs b/src/output/formats.rs index a5171a8..5915069 100644 --- a/src/output/formats.rs +++ b/src/output/formats.rs @@ -56,6 +56,7 @@ pub struct FileOnly; impl Format for FileOnly { fn format_result(&self, item: &LogResult) -> String { - item.log_file.to_string_lossy().into_owned() + let filename = item.log_file.to_string_lossy(); + format!("{}\n", filename) } } -- cgit v1.2.3