Skip to content

Commit

Permalink
missed one reference to "best"
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Aug 21, 2015
1 parent 1630c79 commit 63eedfc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/librustc_data_structures/transitive_relation.rs
Expand Up @@ -93,10 +93,11 @@ impl<T:Debug+PartialEq> TransitiveRelation<T> {
}
}

/// 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
Expand Down

0 comments on commit 63eedfc

Please sign in to comment.