summaryrefslogtreecommitdiffstats
path: root/tests/by-util/test_ls.rs
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2023-04-20 23:00:46 +0200
committerSylvestre Ledru <sylvestre@debian.org>2023-04-20 23:22:05 +0200
commitefa361dd7c2d39fb6f3eef702fe7f39d889f62d4 (patch)
tree4436c9db3acd1ec51c736f7e79d326b2c2f16c84 /tests/by-util/test_ls.rs
parent47e61f064c0468e2e8d875b5aa24b1b23dc7126a (diff)
Fix some trivial clippy warnings
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 1a189a25a..f3f9c74cf 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()
};