Skip to content

Commit 9efdd1c

Browse files
committed
Use the cloned adapter
1 parent af3fc28 commit 9efdd1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

top-crates/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ fn bulk_download(global: &mut GlobalState<'_>, package_ids: &[PackageId]) -> Vec
280280
.get_many(package_set.package_ids())
281281
.expect("Unable to download packages")
282282
.into_iter()
283-
.map(Package::clone)
283+
.cloned()
284284
.collect()
285285
}
286286

0 commit comments

Comments
 (0)