aboutsummaryrefslogtreecommitdiffstats
path: root/src/access/strict.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/access/strict.rs')
-rw-r--r--src/access/strict.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/access/strict.rs b/src/access/strict.rs
index 9857bed..0aac192 100644
--- a/src/access/strict.rs
+++ b/src/access/strict.rs
@@ -95,9 +95,9 @@ pub(crate) fn digest(value: &JsonValue) -> String {
/// The places values are signed in `doc` (`envelope::signed_paths`, `*` as `doc` has
/// them) that hold one, with it, as the store reads it.
-pub(crate) fn held(doc: &impl Read) -> Vec<(Vec<String>, JsonValue)> {
+pub(crate) fn held(doc: &(impl Read + ?Sized)) -> Vec<(Vec<String>, JsonValue)> {
fn expand(
- doc: &impl Read,
+ doc: &(impl Read + ?Sized),
pattern: &[String],
at: Vec<String>,
out: &mut Vec<(Vec<String>, JsonValue)>,
@@ -135,7 +135,7 @@ pub(crate) fn held(doc: &impl Read) -> Vec<(Vec<String>, JsonValue)> {
/// held at a signed place now, the policy `policy`, for `user` to look over and sign at
/// `at`. Its exact line.
pub(crate) fn manifest_of(
- doc: &impl Read,
+ doc: &(impl Read + ?Sized),
swarm: &str,
epoch: crate::document::replica::EpochRecord,
base: &[crate::document::ChangeHash],