Skip to content

Commit

Permalink
fixup! feat(lattices)!: Add reveal methods, make fields private (hy…
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Jun 26, 2023
1 parent 06b8327 commit f6b8ea0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lattices/src/dom_pair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ use crate::{IsBot, IsTop, LatticeFrom, LatticeOrd, Merge};
#[derive(Copy, Clone, Debug, Default, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct DomPair<Key, Val> {
/// The `Key` of the dominating pair lattice, usually a timestamp
/// The `Key` of the dominating pair lattice, usually a timestamp.
///
/// This field is public as it is always monotonically increasing in its lattice.
pub key: Key,
/// The `Val` of the dominating pair lattice.
val: Val,
Expand Down

0 comments on commit f6b8ea0

Please sign in to comment.