Explorar o código

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

sbatial %!s(int64=2) %!d(string=hai) anos
pai
achega
b56d6592a1
Modificáronse 1 ficheiros con 1 adicións e 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,
         }
     }