Skip to content

Commit

Permalink
Run 'cargo fmt'
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Oct 3, 2021
1 parent 565b34f commit e4bb80e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ impl LsColors {
} else if file_type.is_dir() {
let mode = crate::fs::mode(metadata);

if self.has_color_for(Indicator::StickyAndOtherWritable) && mode & 0o1002 == 0o1002 {
if self.has_color_for(Indicator::StickyAndOtherWritable) && mode & 0o1002 == 0o1002
{
Indicator::StickyAndOtherWritable
} else if self.has_color_for(Indicator::OtherWritable) && mode & 0o0002 != 0 {
Indicator::OtherWritable
Expand Down

0 comments on commit e4bb80e

Please sign in to comment.