Skip to content

Commit 1e097c3

Browse files
da-xehuss
andauthored
Update src/cargo/core/profiles.rs
Co-Authored-By: Eric Huss <[email protected]>
1 parent 5421610 commit 1e097c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/profiles.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ impl Profiles {
314314
shell: &mut Shell,
315315
packages: &PackageSet<'_>,
316316
) -> CargoResult<()> {
317-
for (_, profile) in &self.by_name {
317+
for profile in self.by_name.values() {
318318
profile.validate_packages(shell, packages)?;
319319
}
320320
Ok(())

0 commit comments

Comments
 (0)