mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Edit rustc_mir_dataflow::framework::lattice::FlatSet
docs
Cosmetic improvements. Adds a paragraph break, and ellipses to signify arbitrary size of a flat set.
This commit is contained in:
parent
7425fb293f
commit
f8b16c5d87
@ -199,14 +199,16 @@ impl<T: JoinSemiLattice> MeetSemiLattice for Dual<T> {
|
||||
}
|
||||
|
||||
/// Extends a type `T` with top and bottom elements to make it a partially ordered set in which no
|
||||
/// value of `T` is comparable with any other. A flat set has the following [Hasse diagram]:
|
||||
/// value of `T` is comparable with any other.
|
||||
///
|
||||
/// A flat set has the following [Hasse diagram]:
|
||||
///
|
||||
/// ```text
|
||||
/// top
|
||||
/// / / \ \
|
||||
/// top
|
||||
/// / ... / / \ \ ... \
|
||||
/// all possible values of `T`
|
||||
/// \ \ / /
|
||||
/// bottom
|
||||
/// \ ... \ \ / / ... /
|
||||
/// bottom
|
||||
/// ```
|
||||
///
|
||||
/// [Hasse diagram]: https://en.wikipedia.org/wiki/Hasse_diagram
|
||||
|
Loading…
Reference in New Issue
Block a user