From 6da336138a18750a8921601c037c5d45f604903d Mon Sep 17 00:00:00 2001 From: Bo Maryniuk Date: Thu, 2 Nov 2023 17:58:48 +0100 Subject: [PATCH] Allow printing empty strings for formatting purposes --- src/scanner/dlst.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scanner/dlst.rs b/src/scanner/dlst.rs index ba27a50..f32fb9d 100644 --- a/src/scanner/dlst.rs +++ b/src/scanner/dlst.rs @@ -22,6 +22,7 @@ impl<'a> ContentFormatter<'a> { ContentFormatter { fs_data, last_dir: "".to_string() } } + #[allow(clippy::println_empty_string)] pub(crate) fn format(&mut self) { let d_len = self.fs_data.len() - 1; let mut t_size: u64 = 0;