1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

maint/hostname: Fix a clippy warning 'single_char_push_str'

This commit is contained in:
Sylvestre Ledru 2020-11-19 23:16:31 +01:00
parent 62265656b4
commit 641aba5bd7

View file

@ -123,7 +123,7 @@ fn display_hostname(matches: &ArgMatches) -> i32 {
ip.truncate(len - 2);
}
output.push_str(&ip);
output.push_str(" ");
output.push(' ');
hashset.insert(addr);
}
}