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

remove redundant space

This commit is contained in:
Sunrin SHIMURA (keen) 2017-01-10 10:37:34 +09:00
parent 59e4bc431a
commit 20b336ed3c

View file

@ -473,7 +473,7 @@ fn display_file_name(path: &Path,
-> Cell { -> Cell {
let mut name = get_file_name(path, strip); let mut name = get_file_name(path, strip);
if ! options.opt_present("long") { if !options.opt_present("long") {
name = get_inode(metadata, options) + &name; name = get_inode(metadata, options) + &name;
} }
@ -536,7 +536,7 @@ fn display_file_name(path: &Path,
options: &getopts::Matches) options: &getopts::Matches)
-> Cell { -> Cell {
let mut name = get_file_name(path, strip); let mut name = get_file_name(path, strip);
if ! options.opt_present("long") { if !options.opt_present("long") {
name = get_inode(metadata, options) + &name; name = get_inode(metadata, options) + &name;
} }
let mut width = UnicodeWidthStr::width(&*name); let mut width = UnicodeWidthStr::width(&*name);