Skip to content

Commit a85f9b6

Browse files
committed
Add reference to clarifying comment
1 parent 034b93c commit a85f9b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cargo/core/resolver/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,8 @@ fn activate_deps_loop<'a>(mut cx: Context<'a>,
753753
// changed (possibly relaxing version constraints). If the outcome could differ,
754754
// resets `cx` and `remaining_deps` to that level and returns the
755755
// next candidate. If all candidates have been exhausted, returns None.
756+
// Read https://github.com/rust-lang/cargo/pull/4834#issuecomment-362871537 for
757+
// a more detailed explanation of the logic here.
756758
fn find_candidate<'a>(backtrack_stack: &mut Vec<BacktrackFrame<'a>>,
757759
cx: &mut Context<'a>,
758760
remaining_deps: &mut BinaryHeap<DepsFrame>,

0 commit comments

Comments
 (0)