summaryrefslogtreecommitdiffstats
path: root/src/remake/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remake/mod.rs')
-rw-r--r--src/remake/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remake/mod.rs b/src/remake/mod.rs
index f5b7fc8..e888d6d 100644
--- a/src/remake/mod.rs
+++ b/src/remake/mod.rs
@@ -1,4 +1,4 @@
-//! Remakes: coordinated moves of the whole cluster to a new document, a new epoch.
+//! Remakes: coordinated moves of the whole swarm to a new document, a new epoch.
//! Compaction is one: the new document has the old one's content without its history.
//!
//! * `kind`: what differs between kinds of remake (building the new document, and
@@ -66,7 +66,7 @@ pub(crate) trait Host: Clone + Send + Sync + 'static {
/// Known (not forgotten) peers.
fn peer_summaries(&self) -> impl Future<Output = Vec<PeerSummary>> + Send;
- /// Stops serving requests (back to `Joining`, keeping the cluster ID), as while a
+ /// Stops serving requests (back to `Joining`, keeping the swarm ID), as while a
/// rejoin syncs a fresh document. Returns whether the node was serving.
fn suspend(&self) -> impl Future<Output = bool> + Send;