aboutsummaryrefslogtreecommitdiffstats
path: root/src/access/screen.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 02:48:25 +0000
committertv <tv@krebsco.de>2026-11-29 02:48:25 +0000
commit8a29efed857991417d12b8e21884dbbcb53ff4a0 (patch)
treef57da52ac22090146c3f3baac23fb0b5dd2938dc /src/access/screen.rs
parentb259ee75fbbbf8e265a0bf2a0b79c4f6a75f395a (diff)
document: the writers a node wrote under are the document's, not a remake's
The actors a node writes or wrote with in its current document (document::own::OwnWriters, AppState::own_writers) were kept by the remake state, which signing, the document file, sync and a dropped change read them from. They are the engine's: a document of a kind without writers of this sort has none, and needs no remake state for them.
Diffstat (limited to 'src/access/screen.rs')
-rw-r--r--src/access/screen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/access/screen.rs b/src/access/screen.rs
index e37f2b9..050b23f 100644
--- a/src/access/screen.rs
+++ b/src/access/screen.rs
@@ -740,7 +740,7 @@ pub(crate) struct Outcome {
/// Changes the bytes carried forged under another node's actor: their sender's.
pub(crate) forged: usize,
/// The fresh actor the node writes as from now on, where the bytes carried a change
- /// of its own actor that it doesn't hold: for its own actors (`add_own_actor`).
+ /// of its own actor that it doesn't hold: for its own actors (`OwnWriters::add`).
pub(crate) fresh_actor: Option<crate::document::ActorId>,
}