We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b9f56b commit e06a911Copy full SHA for e06a911
src/cargo/core/package.rs
@@ -455,10 +455,7 @@ impl<'cfg> PackageSet<'cfg> {
455
Ok(self.get_many(Some(id))?.remove(0))
456
}
457
458
- pub fn get_many(
459
- &self,
460
- ids: impl IntoIterator<Item = PackageId>,
461
- ) -> CargoResult<Vec<&Package>> {
+ pub fn get_many(&self, ids: impl IntoIterator<Item = PackageId>) -> CargoResult<Vec<&Package>> {
462
let mut pkgs = Vec::new();
463
let mut downloads = self.enable_download()?;
464
for id in ids {
0 commit comments