mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-04 15:07:47 +00:00
refactor/polish ~ fix cargo clippy
complaints (flat_map_identity)
This commit is contained in:
parent
bffea950d9
commit
37a3db1819
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ fn du(
|
|||
}
|
||||
}
|
||||
|
||||
stats.extend(futures.into_iter().flat_map(|val| val).rev().filter(
|
||||
stats.extend(futures.into_iter().flatten().rev().filter(
|
||||
|stat| {
|
||||
if !options.separate_dirs && stat.path.parent().unwrap() == my_stat.path {
|
||||
my_stat.size += stat.size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue