Explorar el Código

lint: use let-else instead of 2-arm-match

sbatial hace 2 años
padre
commit
b56d6592a1
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/output/table.rs

+ 1 - 2
src/output/table.rs

@@ -190,8 +190,7 @@ impl Column {
             Self::Inode      |
             Self::Blocksize  |
             Self::GitStatus  => Alignment::Right,
-            Self::Timestamp(_) | 
-            _                => Alignment::Left,
+            _ => Alignment::Left,
         }
     }