Skip to content

Commit 49fcafe

Browse files
committed
add comment for 0 tab_size
1 parent 6f90043 commit 49fcafe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uu/ls/src/ls.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2700,6 +2700,7 @@ fn display_grid(
27002700
.map(|s| s.to_string_lossy().into_owned())
27012701
.collect();
27022702

2703+
// Since tab_size=0 means no \t, use Spaces separator for optimization.
27032704
let filling = match tab_size {
27042705
0 => Filling::Spaces(DEFAULT_SEPARATOR_SIZE),
27052706
_ => Filling::Tabs {

0 commit comments

Comments
 (0)