aboutsummaryrefslogtreecommitdiffstats
path: root/src/federation/store/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/federation/store/mod.rs')
-rw-r--r--src/federation/store/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/federation/store/mod.rs b/src/federation/store/mod.rs
index c87f337..b11c81a 100644
--- a/src/federation/store/mod.rs
+++ b/src/federation/store/mod.rs
@@ -97,9 +97,9 @@ pub(crate) trait Fold {
/// The state a checkpoint reads as, with the events it keeps.
fn start(checkpoint: &[u8], kept: &[(Id, Vec<u8>)]) -> Result<Self::State, Refused>;
- /// The root of a fork at `heads` of the stores reading as `at`, made by `spec`: its
+ /// The root of a fork at `heads` of the store reading as `at`, made by `spec`: its
/// bytes, and the events it keeps.
- fn fork(at: &[&Self::State], heads: &[Id], spec: &[u8]) -> Result<(Vec<u8>, Vec<Id>), Refused>;
+ fn fork(at: &Self::State, heads: &[Id], spec: &[u8]) -> Result<(Vec<u8>, Vec<Id>), Refused>;
/// The heads of a later checkpoint, where a store reading as `now` moves to one.
fn moves_to(now: &Self::State) -> Option<Vec<Id>>;