Skip to content

Commit

Permalink
Add reference to clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanhs committed Feb 6, 2018
1 parent 034b93c commit a85f9b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cargo/core/resolver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,8 @@ fn activate_deps_loop<'a>(mut cx: Context<'a>,
// changed (possibly relaxing version constraints). If the outcome could differ,
// resets `cx` and `remaining_deps` to that level and returns the
// next candidate. If all candidates have been exhausted, returns None.
// Read https://github.com/rust-lang/cargo/pull/4834#issuecomment-362871537 for
// a more detailed explanation of the logic here.
fn find_candidate<'a>(backtrack_stack: &mut Vec<BacktrackFrame<'a>>,
cx: &mut Context<'a>,
remaining_deps: &mut BinaryHeap<DepsFrame>,
Expand Down

0 comments on commit a85f9b6

Please sign in to comment.