1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

ls.rs: rename variable name dfn to displayed_file

Closes: #5282
This commit is contained in:
Rojin Raju 2023-09-19 01:17:02 +05:30 committed by GitHub
parent 000b3d7e90
commit d01fe6a10f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2482,13 +2482,13 @@ fn display_item_long(
} }
}; };
let dfn = display_file_name(item, config, None, String::new(), out).contents; let displayed_file = display_file_name(item, config, None, String::new(), out).contents;
write!( write!(
out, out,
" {} {}{}", " {} {}{}",
display_date(md, config), display_date(md, config),
dfn, displayed_file,
config.line_ending config.line_ending
)?; )?;
} else { } else {
@ -2561,7 +2561,7 @@ fn display_item_long(
write!(out, " {}", pad_right("?", padding.uname))?; write!(out, " {}", pad_right("?", padding.uname))?;
} }
let dfn = display_file_name(item, config, None, String::new(), out).contents; let displayed_file = display_file_name(item, config, None, String::new(), out).contents;
let date_len = 12; let date_len = 12;
writeln!( writeln!(
@ -2569,7 +2569,7 @@ fn display_item_long(
" {} {} {}", " {} {} {}",
pad_left("?", padding.size), pad_left("?", padding.size),
pad_left("?", date_len), pad_left("?", date_len),
dfn, displayed_file,
)?; )?;
} }