From 1a1f199ad130c89d4592a6771e4e38c77806140c Mon Sep 17 00:00:00 2001 From: ascendforever Date: Sun, 13 Oct 2024 18:22:29 -0400 Subject: [PATCH] formatting --- src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6b8674e..7665d52 100644 --- a/src/main.rs +++ b/src/main.rs @@ -81,11 +81,7 @@ impl<'a> Registry<'a> { } pub fn write_all(&self, writer: &mut impl Write, separator_null: bool, quote: bool) -> std::io::Result<()> { - let sep = if separator_null { - '\0' - } else { - '\n' - }; + let sep = if separator_null { '\0' } else { '\n' }; if quote { for (_,file) in &self.registry { writer.write_all(&shlex::bytes::try_quote(&file.as_os_str().as_bytes()).unwrap())?; } }