Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/cargo/ops/cargo_clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use crate::util::interning::InternedString;
use crate::util::{human_readable_bytes, Config, Progress, ProgressStyle};
use anyhow::bail;
use cargo_util::paths;
use indexmap::IndexSet;
use std::fs;
use std::path::{Path, PathBuf};

Expand Down Expand Up @@ -129,7 +130,7 @@ fn clean_specs(
// Doc tests produce no output.

// Get Packages for the specified specs.
let mut pkg_ids = Vec::new();
let mut pkg_ids = IndexSet::new();
for spec_str in spec.iter() {
// Translate the spec to a Package.
let spec = PackageIdSpec::parse(spec_str)?;
Expand Down