From: Aidan Hobson Sayers Date: Tue, 6 Feb 2018 02:15:17 +0000 (+0000) Subject: Add reference to clarifying comment X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~3^2~12^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a85f9b6cf2142a5061ed4b4020be160444b5c49a;p=cargo.git Add reference to clarifying comment --- diff --git a/src/cargo/core/resolver/mod.rs b/src/cargo/core/resolver/mod.rs index 24dab3646..7977e958a 100644 --- a/src/cargo/core/resolver/mod.rs +++ b/src/cargo/core/resolver/mod.rs @@ -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>, cx: &mut Context<'a>, remaining_deps: &mut BinaryHeap,