We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cecde95 commit 6e46d4cCopy full SHA for 6e46d4c
src/cargo/core/source_id.rs
@@ -581,8 +581,8 @@ impl PartialOrd for SourceId {
581
}
582
583
584
-// Custom comparison defined as canonical URL equality for git sources and URL
585
-// equality for other sources, ignoring the `precise` and `name` fields.
+// Custom comparison defined as source kind and canonical URL equality,
+// ignoring the `precise` and `name` fields.
586
impl Ord for SourceId {
587
fn cmp(&self, other: &SourceId) -> Ordering {
588
// If our interior pointers are to the exact same `SourceIdInner` then
0 commit comments