Skip to content

Commit

Permalink
fix: rustfmt errors
Browse files Browse the repository at this point in the history
  • Loading branch information
erwinvaneijk authored and cafkafk committed Oct 3, 2024
1 parent 0529538 commit c86edc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/fs/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/options/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit c86edc5

Please sign in to comment.