aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/host.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/host.rs')
-rw-r--r--src/state/host.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/state/host.rs b/src/state/host.rs
index 2fac94b..4ef12a1 100644
--- a/src/state/host.rs
+++ b/src/state/host.rs
@@ -160,10 +160,10 @@ impl AppState {
}
};
let paths = dropped.own_paths;
- let theirs: Vec<crate::access::screen::Refused> = dropped
+ let theirs: Vec<crate::document::screen::Refused> = dropped
.theirs
.into_iter()
- .map(|theirs| crate::access::screen::Refused {
+ .map(|theirs| crate::document::screen::Refused {
change: theirs.change,
committer: theirs.committer,
user: theirs.user,
@@ -559,12 +559,12 @@ impl Host for AppState {
tokio::task::spawn_blocking(move || {
let result = {
let mut replica = state.doc.blocking_write();
- // Judged first (`access::screen`), whether this document has a policy
+ // Judged first (`document::screen`), whether this document has a policy
// yet or not.
let result = {
let (epoch, epoch_seq) = (replica.epoch, replica.epoch_seq);
let replica = &mut *replica;
- crate::access::screen::apply_bytes(
+ crate::document::screen::apply_bytes(
&mut replica.doc,
epoch,
epoch_seq,