Skip to content

Commit

Permalink
Fix silly return type
Browse files Browse the repository at this point in the history
  • Loading branch information
sgwilym committed Aug 30, 2024
1 parent b27a4ce commit c3e34f6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions wgps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ where
progress_id: u64,
range: &Range3d<MCL, MCC, MPL, S>,
ignore: Option<QueryIgnoreParams>,
) -> impl Future<
Output = impl Producer<
Item = Result<StoreEvent<MCL, MCC, MPL, N, S, PD, AT>, ResumptionFailedError>,
>,
>;
) -> Result<impl Producer<Item = StoreEvent<MCL, MCC, MPL, N, S, PD, AT>>, ResumptionFailedError>;

/// Summarise a [`Range3d`] as a [fingerprint](https://willowprotocol.org/specs/3d-range-based-set-reconciliation/index.html#d3rbsr_fp).
fn summarise(&self, range: Range3d<MCL, MCC, MPL, S>) -> impl Future<Output = FP>;
Expand Down

0 comments on commit c3e34f6

Please sign in to comment.