Skip to content

Commit 1c5861c

Browse files
committed
implement clippy suggestion to remove redundant clone
1 parent e8a8f76 commit 1c5861c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/resolver-tests/tests/resolve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ fn pub_fail() {
234234
pkg!(("e", "0.0.6") => [dep_req_kind("a", "<= 0.0.4", Kind::Normal, true),]),
235235
pkg!(("kB", "0.0.3") => [dep_req("a", ">= 0.0.5"),dep("e"),]),
236236
];
237-
let reg = registry(input.clone());
237+
let reg = registry(input);
238238
assert!(resolve_and_validated(vec![dep("kB")], &reg, None).is_err());
239239
}
240240

0 commit comments

Comments
 (0)