diff options
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/changes.rs | 2 | ||||
| -rw-r--r-- | src/api/peers.rs | 2 | ||||
| -rw-r--r-- | src/api/stats.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/api/changes.rs b/src/api/changes.rs index 13c8dd3..fa34029 100644 --- a/src/api/changes.rs +++ b/src/api/changes.rs @@ -139,7 +139,7 @@ fn changes( } ChangesReport { changes, more } } -/// A change the policy refused (`access::screen`): its hash, when its writer made it +/// A change the policy refused (`document::screen`): its hash, when its writer made it /// (by its clock), who made it and for whom, as it says, what it touched, and why. #[derive(Serialize)] #[serde(rename_all = "camelCase")] diff --git a/src/api/peers.rs b/src/api/peers.rs index 1f7af21..30d1204 100644 --- a/src/api/peers.rs +++ b/src/api/peers.rs @@ -52,7 +52,7 @@ pub(crate) struct PeerStatus { /// between; absent while they match. pub(crate) diverged_for_secs: Option<u64>, /// Whether we refuse it as a whole, its own change having broken the swarm's rules - /// (`access::screen`): then we send it nothing. + /// (`document::screen`): then we send it nothing. pub(crate) refused: Option<RefusedPeer>, pub(crate) has_pending_delivery: bool, /// Epoch the peer last advertised; absent until it has sent a message. diff --git a/src/api/stats.rs b/src/api/stats.rs index 37a7447..a5fe0d8 100644 --- a/src/api/stats.rs +++ b/src/api/stats.rs @@ -131,7 +131,7 @@ struct SyncStats { /// Peers whose heads differ from ours while sync is idle (`peers.md`, healing). diverged_peers: usize, /// Peers refused as a whole, their own changes having broken the swarm's rules - /// (`access::screen`): sent nothing. + /// (`document::screen`): sent nothing. refused_peers: usize, /// Changes peers say the swarm's rules refuse, which this node took unjudged and its /// rules refuse too, whose drop takes much: held for a second member to say so |
