Skip to content

Commit

Permalink
Typo mergeed -> merged
Browse files Browse the repository at this point in the history
  • Loading branch information
mpizenberg committed Dec 15, 2023
1 parent 8a25f57 commit 5c4a6b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@ impl<P: Package, VS: VersionSet, Priority: Ord + Clone> State<P, VS, Priority> {
.merged_dependencies
.entry((p1.clone(), p2.clone()))
.or_default();
if let Some((past, mergeed)) = deps_lookup.as_mut_slice().iter_mut().find_map(|past| {
if let Some((past, merged)) = deps_lookup.as_mut_slice().iter_mut().find_map(|past| {
self.incompatibility_store[id]
.merge_dependents(&self.incompatibility_store[*past])
.map(|m| (past, m))
}) {
let new = self.incompatibility_store.alloc(mergeed);
let new = self.incompatibility_store.alloc(merged);
for (pkg, _) in self.incompatibility_store[new].iter() {
self.incompatibilities
.entry(pkg.clone())
Expand Down

0 comments on commit 5c4a6b9

Please sign in to comment.