Skip to content

Commit 63eedfc

Browse files
committed
missed one reference to "best"
1 parent 1630c79 commit 63eedfc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/librustc_data_structures/transitive_relation.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ impl<T:Debug+PartialEq> TransitiveRelation<T> {
9393
}
9494
}
9595

96-
/// Picks what I am referring to as the "best" upper-bound for `a`
97-
/// and `b`. This is usually the least upper bound, but in cases where
98-
/// there is no single least upper bound, it is the "mutual immediate postdominator",
99-
/// if you imagine a graph where `a < b` means `a -> b`.
96+
/// Picks what I am referring to as the "postdominating"
97+
/// upper-bound for `a` and `b`. This is usually the least upper
98+
/// bound, but in cases where there is no single least upper
99+
/// bound, it is the "mutual immediate postdominator", if you
100+
/// imagine a graph where `a < b` means `a -> b`.
100101
///
101102
/// This function is needed because region inference currently
102103
/// requires that we produce a single "UB", and there is no best

0 commit comments

Comments
 (0)