Skip to content

Commit

Permalink
test: satisfy iter_kv_map
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Feb 18, 2023
1 parent 4aa9a04 commit cbdded5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/dependencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ fn all_dev_deps_are_caret_constrained() {
let manifest = Manifest::from_path("Cargo.toml").unwrap();
let all_are_caret = manifest
.dev_dependencies
.into_iter()
.map(|(_, dep)| {
.into_values()
.map(|dep| {
let version = match dep {
Dependency::Simple(version) => version,
Dependency::Detailed(detailed) => detailed.version.unwrap(),
Expand Down

0 comments on commit cbdded5

Please sign in to comment.