diff options
Diffstat (limited to 'src/document/replica.rs')
| -rw-r--r-- | src/document/replica.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document/replica.rs b/src/document/replica.rs index 5d3d7a7..5a87016 100644 --- a/src/document/replica.rs +++ b/src/document/replica.rs @@ -101,7 +101,7 @@ impl fmt::Debug for Epoch { /// The heads are cached: `AutoCommit::get_heads` takes `&mut self` (it closes a pending /// transaction), so without the cache every keepalive and status read would need the /// write lock. Every path that changes the document under the write lock calls -/// [`Replica::refresh_heads`] before releasing it (`AppState::write_doc`, `mutate_doc`, +/// [`Replica::refresh_heads`] before releasing it (`AppState::mutate_doc`, /// `switch_epoch`, the sync apply); readers take the read lock and use /// [`Replica::heads`]. /// |
