aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index 2595257..85f69f5 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -744,10 +744,10 @@ pub(crate) enum SyncBody {
/// An Automerge sync message, deflated (`compress`): a large one, which shrank.
Deflated(#[serde(with = "crate::transport::wire::codec::sync_message")] SyncPayload),
/// Changes passed on along a writer's tree as they are, with the sender's heads,
- /// instead of an Automerge sync message (`AppState::push_changes`): where the sender
- /// takes the message as delivered, it has everything the receiver has, and needs
- /// none of the rest of one (`SyncSession::push`). No heads stand for the tips of
- /// the changes, as the sender's heads mostly are.
+ /// instead of an Automerge sync message: where the sender takes the message as
+ /// delivered, the receiver rebuilds the rest of one (`SyncSession::push`,
+ /// `Received::pushed`). No heads stand for the tips of the changes, as the sender's
+ /// heads mostly are.
Changes {
#[serde(with = "crate::transport::wire::codec::change_hashes")]
heads: Vec<ChangeHash>,