Skip to content

Commit

Permalink
to to too
Browse files Browse the repository at this point in the history
Co-authored-by: Ed Page <eopage@gmail.com>
  • Loading branch information
Eh2406 and epage authored Feb 6, 2025
1 parent 2cce8b4 commit a9da3c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo/core/resolver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -967,12 +967,12 @@ fn find_candidate(
if let Some(age) = age {
// Above we use `cx` to determine if this is going to be conflicting.
// But lets just double check if the `pop`ed frame agrees.
let frame_to_new = frame.context.age >= age;
let frame_too_new = frame.context.age >= age;
debug_assert!(
frame
.context
.is_conflicting(Some(parent.package_id()), conflicting_activations)
== frame_to_new.then_some(age)
== frame_too_new.then_some(age)
);

if frame_to_new {
Expand Down

0 comments on commit a9da3c8

Please sign in to comment.