Quellcode durchsuchen

fix: rustfmt errors

Erwin van Eijk vor 1 Jahr
Ursprung
Commit
c86edc5443
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 2 2
      src/fs/filter.rs
  2. 1 1
      src/options/filter.rs

+ 2 - 2
src/fs/filter.rs

@@ -33,11 +33,11 @@ pub enum FileFilterFlags {
 
     /// Whether to explicitly show symlinks
     ShowSymlinks,
-    
+
     /// Whether directories should be listed first, and other types of file
     /// second. Some users prefer it like this.
     ListDirsFirst,
-    
+
     /// Whether directories should be listed as the last items, after other
     /// types of file. Some users prefer it like this.
     ListDirsLast,

+ 1 - 1
src/options/filter.rs

@@ -27,7 +27,7 @@ impl FileFilter {
             (matches.has(&flags::NO_SYMLINKS)?, FFF::NoSymlinks),
             (matches.has(&flags::SHOW_SYMLINKS)?, FFF::ShowSymlinks),
             (matches.has(&flags::DIRS_LAST)?, FFF::ListDirsLast),
-            (matches.has(&flags::DIRS_FIRST)?, FFF::ListDirsFirst)
+            (matches.has(&flags::DIRS_FIRST)?, FFF::ListDirsFirst),
         ] {
             if *has {
                 filter_flags.push(flag.clone());