mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
clarify diagonal arrows
This commit is contained in:
@@ -112,6 +112,7 @@ pub fn contains(&self, a: &T, b: &T) -> bool {
|
||||
/// b -> b1 ---+
|
||||
///
|
||||
/// // returns Some(x), which is not LUB (there is none)
|
||||
/// // diagonal edges run left-to-right
|
||||
/// a -> a1 -> x
|
||||
/// \/ ^
|
||||
/// /\ |
|
||||
@@ -400,6 +401,7 @@ fn mubs_best_choice_scc() {
|
||||
|
||||
#[test]
|
||||
fn bub_crisscross() {
|
||||
// diagonal edges run left-to-right
|
||||
// a -> a1 -> x
|
||||
// \/ ^
|
||||
// /\ |
|
||||
@@ -419,6 +421,7 @@ fn bub_crisscross() {
|
||||
|
||||
#[test]
|
||||
fn bub_crisscross_more() {
|
||||
// diagonal edges run left-to-right
|
||||
// a -> a1 -> a2 -> a3 -> x
|
||||
// \/ \/ ^
|
||||
// /\ /\ |
|
||||
|
||||
Reference in New Issue
Block a user