We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7693b06 commit 425e15eCopy full SHA for 425e15e
src/lattice.rs
@@ -27,6 +27,7 @@ pub trait Lattice : PartialOrder {
27
/// assert_eq!(join, Product::new(4, 7));
28
/// # }
29
/// ```
30
+ #[must_use]
31
fn join(&self, other: &Self) -> Self;
32
33
/// Updates `self` to the smallest element greater than or equal to both arguments.
@@ -67,6 +68,7 @@ pub trait Lattice : PartialOrder {
67
68
/// assert_eq!(meet, Product::new(3, 6));
69
70
71
72
fn meet(&self, other: &Self) -> Self;
73
74
/// Updates `self` to the largest element less than or equal to both arguments.
0 commit comments