diff options
Diffstat (limited to 'src/document/sync.rs')
| -rw-r--r-- | src/document/sync.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/document/sync.rs b/src/document/sync.rs index 51cf9eb..2de8e60 100644 --- a/src/document/sync.rs +++ b/src/document/sync.rs @@ -24,7 +24,7 @@ pub(crate) struct Received(sync::Message); impl Received { /// The changes it carries, as their chunks, taken out of it: applied otherwise - /// (`access::screen`), what is left of it says what the peer has and needs. + /// (`document::screen`), what is left of it says what the peer has and needs. pub(crate) fn take_changes(&mut self) -> Vec<u8> { let bytes = self.0.changes.iter().flatten().copied().collect(); self.0.changes = sync::ChunkList::empty(); @@ -211,7 +211,7 @@ pub(crate) struct SyncSession { /// The latest heads the peer said that we hold all of: what it has for certain, /// where the heads we share may only be taken for its (`assume_delivered`). held_said: Vec<crate::document::ChangeHash>, - /// What changes waiting in screening build on and we lack (`access::screen`): asked + /// What changes waiting in screening build on and we lack (`document::screen`): asked /// for in our next message (`lacks`). lacking: Vec<crate::document::ChangeHash>, @@ -1035,7 +1035,7 @@ impl SyncSession { self.id } - /// The peer offered again only changes we refused (`access::screen`): it would as + /// The peer offered again only changes we refused (`document::screen`): it would as /// often as we answer, its sync state never learning we won't take them. No message /// to it before the returned wait, which doubles while it goes on. pub(crate) fn refused_again(&mut self, now: Instant) -> Duration { |
