aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 4187654..ccd8a93 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -168,8 +168,8 @@ pub(crate) struct AppState {
/// (`--sign-every`).
pub(crate) sign_every: SignEvery,
/// Received changes waiting for their dependencies, and those refused, while the
- /// policy has them judged (`access::screen`). Locked after the document.
- pub(crate) screening: Arc<std::sync::Mutex<crate::access::screen::Screening>>,
+ /// policy has them judged (`document::screen`). Locked after the document.
+ pub(crate) screening: Arc<std::sync::Mutex<crate::document::screen::Screening>>,
/// The challenges logins by key used, until they expire (`access::challenge`).
pub(crate) challenges: Arc<std::sync::Mutex<crate::access::challenge::Used>>,
/// Sessions ended on this node in a swarm without a registry, where they can't be
@@ -327,7 +327,7 @@ impl AppState {
/// until it synced once with a ready neighbour (`release_writes`, `swarm::sync`), or
/// `KEPT_WRITER_WAIT` passed: so that a neighbour holding later changes of that writer,
/// which another copy of its files made (a backup restored, a disk rolled back), hands
- /// them over first, and the node takes a fresh writer then (`access::screen`).
+ /// them over first, and the node takes a fresh writer then (`document::screen`).
pub(crate) fn hold_writes(&self) {
self.writes_held.send_replace(true);
let held = Arc::clone(&self.writes_held);