summaryrefslogtreecommitdiffstats
path: root/tests/by-util/test_ls.rs
diff options
context:
space:
mode:
authorDaniel Hofstetter <daniel.hofstetter@42dh.com>2023-05-12 07:15:44 +0200
committerGitHub <noreply@github.com>2023-05-12 07:15:44 +0200
commit98fa941250337260eefc90b751dc275ec718012e (patch)
treef907f5653fe8191bea6b952c1f473c47b5c09bbe /tests/by-util/test_ls.rs
parent2b2215532f11d0528bd84874a89600f931f429e0 (diff)
parentd98293bdaacedb90afd7a1d61b2a9e83f2678471 (diff)
Merge pull request #4759 from sylvestre/clippy4
fix some clippy warnings in tests
Diffstat (limited to 'tests/by-util/test_ls.rs')
-rw-r--r--tests/by-util/test_ls.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs
index 61f6d8d8d..d460952ed 100644
--- a/tests/by-util/test_ls.rs
+++ b/tests/by-util/test_ls.rs
@@ -1239,7 +1239,7 @@ fn test_ls_long_total_size() {
("long_si", "total 8.2k"),
]
.iter()
- .cloned()
+ .copied()
.collect()
} else {
[
@@ -1248,7 +1248,7 @@ fn test_ls_long_total_size() {
("long_si", "total 2"),
]
.iter()
- .cloned()
+ .copied()
.collect()
};