From 10f4e55b1c7d88eef1454ea02488de239489789b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 03:04:13 +0000 Subject: document: screening what is received is the document's, the rules access control's access::screen becomes document::screen: reading received bytes as changes, putting them in order, keeping those that wait or are refused, vouching by signatures and applying is all Automerge's shape, and has each change judged by the rules (access::rules) before it applies it. --- src/document/inspect.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/document/inspect.rs') diff --git a/src/document/inspect.rs b/src/document/inspect.rs index 350b69c..0e51103 100644 --- a/src/document/inspect.rs +++ b/src/document/inspect.rs @@ -89,7 +89,7 @@ impl Place { } /// Whether any of `changes` does anything at a map key `key`: a cheap look, without -/// placing anything, for whether they may write the policy (`access::screen`). +/// placing anything, for whether they may write the policy (`document::screen`). pub(crate) fn touch_key(changes: &[ExpandedChange], key: &str) -> bool { changes.iter().any(|change| { change -- cgit v1.3.1