From 4a9f4507f3161791f80c8c25a6f0e9ccd3649c2c Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 18:07:07 +0100 Subject: move all automerge references to document --- src/document/replica.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/document/replica.rs') 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`]. /// -- cgit v1.3.1