瀏覽代碼

refactor(clippy): clippy::semicolon_if_nothing_returned

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 年之前
父節點
當前提交
286c57e049
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/output/details.rs

+ 2 - 2
src/output/details.rs

@@ -179,14 +179,14 @@ impl<'a> Render<'a> {
             self.add_files_to_table(&mut pool, &mut table, &mut rows, &self.files, TreeDepth::root());
 
             for row in self.iterate_with_table(table.unwrap(), rows) {
-                writeln!(w, "{}", row.strings())?
+                writeln!(w, "{}", row.strings())?;
             }
         }
         else {
             self.add_files_to_table(&mut pool, &mut None, &mut rows, &self.files, TreeDepth::root());
 
             for row in self.iterate(rows) {
-                writeln!(w, "{}", row.strings())?
+                writeln!(w, "{}", row.strings())?;
             }
         }