We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5b679b commit 36809bfCopy full SHA for 36809bf
src/librustc_data_structures/transitive_relation.rs
@@ -112,6 +112,7 @@ impl<T:Debug+PartialEq> TransitiveRelation<T> {
112
/// b -> b1 ---+
113
///
114
/// // returns Some(x), which is not LUB (there is none)
115
+ /// // diagonal edges run left-to-right
116
/// a -> a1 -> x
117
/// \/ ^
118
/// /\ |
@@ -400,6 +401,7 @@ fn mubs_best_choice_scc() {
400
401
402
#[test]
403
fn bub_crisscross() {
404
+ // diagonal edges run left-to-right
405
// a -> a1 -> x
406
// \/ ^
407
// /\ |
@@ -419,6 +421,7 @@ fn bub_crisscross() {
419
421
420
422
423
fn bub_crisscross_more() {
424
425
// a -> a1 -> a2 -> a3 -> x
426
// \/ \/ ^
427
// /\ /\ |
0 commit comments