Skip to content

Commit e06a911

Browse files
alexcrichtonehuss
authored andcommitted
Run rustfmt
1 parent 7b9f56b commit e06a911

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cargo/core/package.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,7 @@ impl<'cfg> PackageSet<'cfg> {
455455
Ok(self.get_many(Some(id))?.remove(0))
456456
}
457457

458-
pub fn get_many(
459-
&self,
460-
ids: impl IntoIterator<Item = PackageId>,
461-
) -> CargoResult<Vec<&Package>> {
458+
pub fn get_many(&self, ids: impl IntoIterator<Item = PackageId>) -> CargoResult<Vec<&Package>> {
462459
let mut pkgs = Vec::new();
463460
let mut downloads = self.enable_download()?;
464461
for id in ids {

0 commit comments

Comments
 (0)