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

chore: remove unneeded parens

Keeps code a bit more readable
This commit is contained in:
Yuri Astrakhan 2025-04-08 14:22:57 -04:00
parent 6ea1f5247f
commit 170831ed2b
12 changed files with 42 additions and 46 deletions

View file

@ -1733,7 +1733,9 @@ fn test_ls_group_directories_first() {
.succeeds();
assert_eq!(
result.stdout_str().split('\n').collect::<Vec<_>>(),
(dirnames.into_iter().rev())
dirnames
.into_iter()
.rev()
.chain(dots.into_iter().rev())
.chain(filenames.into_iter().rev())
.chain([""].into_iter())