summaryrefslogtreecommitdiffstats
path: root/src/document
diff options
context:
space:
mode:
Diffstat (limited to 'src/document')
-rw-r--r--src/document/replica.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/document/replica.rs b/src/document/replica.rs
index ff3af4c..af807ea 100644
--- a/src/document/replica.rs
+++ b/src/document/replica.rs
@@ -11,7 +11,7 @@ use std::ops::{Deref, DerefMut};
use automerge::AutoCommit;
-/// One generation of the cluster document.
+/// One generation of the swarm document.
///
/// * `generation` orders epochs: every remake increments it, so a node can tell
/// whether a peer is behind or ahead.
@@ -36,7 +36,7 @@ pub enum EpochRelation {
}
impl Epoch {
- /// Clusters that have never been compacted.
+ /// Swarms that have never been compacted.
pub const GENESIS: Epoch = Epoch {
generation: 0,
id: [0; 32],