1
Fork 0

missed one reference to "best"

This commit is contained in:
Niko Matsakis 2015-08-21 14:45:25 -04:00
parent 1630c7912f
commit 63eedfcf53

View file

@ -93,10 +93,11 @@ impl<T:Debug+PartialEq> TransitiveRelation<T> {
} }
} }
/// Picks what I am referring to as the "best" upper-bound for `a` /// Picks what I am referring to as the "postdominating"
/// and `b`. This is usually the least upper bound, but in cases where /// upper-bound for `a` and `b`. This is usually the least upper
/// there is no single least upper bound, it is the "mutual immediate postdominator", /// bound, but in cases where there is no single least upper
/// if you imagine a graph where `a < b` means `a -> b`. /// bound, it is the "mutual immediate postdominator", if you
/// imagine a graph where `a < b` means `a -> b`.
/// ///
/// This function is needed because region inference currently /// This function is needed because region inference currently
/// requires that we produce a single "UB", and there is no best /// requires that we produce a single "UB", and there is no best