Skip to content

Commit

Permalink
Run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton authored and ehuss committed Apr 19, 2020
1 parent 7b9f56b commit e06a911
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cargo/core/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,7 @@ impl<'cfg> PackageSet<'cfg> {
Ok(self.get_many(Some(id))?.remove(0))
}

pub fn get_many(
&self,
ids: impl IntoIterator<Item = PackageId>,
) -> CargoResult<Vec<&Package>> {
pub fn get_many(&self, ids: impl IntoIterator<Item = PackageId>) -> CargoResult<Vec<&Package>> {
let mut pkgs = Vec::new();
let mut downloads = self.enable_download()?;
for id in ids {
Expand Down

0 comments on commit e06a911

Please sign in to comment.