Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Sep 16, 2023
1 parent a8c2b75 commit 7e0ab22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/uu/ls/src/dired.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn print_dired_output(
out.flush()?;
if config.recursive {
print_positions("//SUBDIRED//", &dired.subdired_positions);
} else if dired.just_printed_total == false {
} else if !dired.just_printed_total {
print_positions("//DIRED//", &dired.dired_positions);
}
println!("//DIRED-OPTIONS// --quoting-style={}", config.quoting_style);
Expand Down
2 changes: 1 addition & 1 deletion src/uu/ls/src/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2454,7 +2454,7 @@ fn display_item_long(
) -> UResult<()> {
let mut output_display: String = String::new();
if config.dired {
output_display += &format!("{}", " ");
output_display += " ";
}
if let Some(md) = item.md(out) {
output_display += &format!(
Expand Down

0 comments on commit 7e0ab22

Please sign in to comment.