mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
missed one reference to "best"
This commit is contained in:
@@ -93,10 +93,11 @@ pub fn contains(&self, a: &T, b: &T) -> bool {
|
||||
}
|
||||
}
|
||||
|
||||
/// Picks what I am referring to as the "best" upper-bound for `a`
|
||||
/// and `b`. This is usually the least upper bound, but in cases where
|
||||
/// there is no single least upper bound, it is the "mutual immediate postdominator",
|
||||
/// if you imagine a graph where `a < b` means `a -> b`.
|
||||
/// Picks what I am referring to as the "postdominating"
|
||||
/// upper-bound for `a` and `b`. This is usually the least upper
|
||||
/// bound, but in cases where there is no single least upper
|
||||
/// 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
|
||||
/// requires that we produce a single "UB", and there is no best
|
||||
|
||||
Reference in New Issue
Block a user