Skip to content

Commit

Permalink
clarify diagonal arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Aug 21, 2015
1 parent d5b679b commit 36809bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustc_data_structures/transitive_relation.rs
Expand Up @@ -112,6 +112,7 @@ impl<T:Debug+PartialEq> TransitiveRelation<T> {
/// b -> b1 ---+
///
/// // returns Some(x), which is not LUB (there is none)
/// // diagonal edges run left-to-right
/// a -> a1 -> x
/// \/ ^
/// /\ |
Expand Down Expand Up @@ -400,6 +401,7 @@ fn mubs_best_choice_scc() {

#[test]
fn bub_crisscross() {
// diagonal edges run left-to-right
// a -> a1 -> x
// \/ ^
// /\ |
Expand All @@ -419,6 +421,7 @@ fn bub_crisscross() {

#[test]
fn bub_crisscross_more() {
// diagonal edges run left-to-right
// a -> a1 -> a2 -> a3 -> x
// \/ \/ ^
// /\ /\ |
Expand Down

0 comments on commit 36809bf

Please sign in to comment.