From 9c1459b37dfd729ae726a1e1da139fca5a20e2e8 Mon Sep 17 00:00:00 2001 From: Peter Adams Date: Mon, 17 Oct 2022 10:25:11 +0100 Subject: [PATCH] Correct typos in documentation Motivation: Nice to get things perfect. Modifications: Minor typo corrections in docc. Result: Fewer docc typos. --- Sources/DistributedActors/Docs.docc/Clustering.md | 4 ++-- .../Plugins/ClusterSingleton/ClusterSingleton.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/DistributedActors/Docs.docc/Clustering.md b/Sources/DistributedActors/Docs.docc/Clustering.md index 693380633..72a36cfe6 100644 --- a/Sources/DistributedActors/Docs.docc/Clustering.md +++ b/Sources/DistributedActors/Docs.docc/Clustering.md @@ -55,11 +55,11 @@ Forming a cluster is the first step towards making use of distributed clusters a Once a node joins at least one other node of an already established cluster, it will receive information about all other nodes which participate in this cluster. This is why often it is not necessary to give all nodes the information about all other nodes in a cluster, -but only attempt to join one or a few o them. The first join "wins" and the cluster welcome the new node into the ``Cluster/Membership``. +but only attempt to join one or a few of them. The first join "wins" and the cluster welcome the new node into the ``Cluster/Membership``. ### Joining existing nodes -In the simplest scenario we already about some existing node that we can join to form a cluster, or become part of a cluster that node already is in. +In the simplest scenario we already know about some existing node that we can join to form a cluster, or become part of a cluster that node already is in. This is done using the system's ``ClusterControl`` object, like this: diff --git a/Sources/DistributedActors/Plugins/ClusterSingleton/ClusterSingleton.swift b/Sources/DistributedActors/Plugins/ClusterSingleton/ClusterSingleton.swift index d689f0c54..4a192287b 100644 --- a/Sources/DistributedActors/Plugins/ClusterSingleton/ClusterSingleton.swift +++ b/Sources/DistributedActors/Plugins/ClusterSingleton/ClusterSingleton.swift @@ -23,7 +23,7 @@ import Logging /// A _cluster singleton_ is a conceptual distributed actor that is guaranteed to have at-most one /// instance within the cluster system among all of its ``Cluster/MemberStatus/up`` members. /// -/// > Note: This guarantee does not extend to _down_ members, because a down member is not part of the cluster anymore, and +/// > Note: This guarantee does not extend to _down_ members, because a down member is not part of the cluster anymore. /// /// To create a managed singleton you must use the ``ClusterSingletonPlugin``, /// and have the instantiation and lifecycle of the actor be managed by the plugin.