Skip to content
Snippets Groups Projects

Draft: Doc joss

Closed PERENNOU Tanguy requested to merge doc-joss into main
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -144,9 +144,9 @@ impl<F: PrimeField> Shard<F> {
/// Fr::from(3*0 + 5*3 + 7*5),
/// Fr::from(3*0 + 5*0 + 7*7)]);
/// ```
///
///
/// # Errors
///
///
///
/// - The shards must have have the same `k`, `hash` or `size`, otherwise this
/// function will return a [`KomodoError::IncompatibleShards`] indicating the
@@ -172,7 +172,7 @@ impl<F: PrimeField> Shard<F> {
/// let coeffs = vec![Fr::from(3), Fr::from(5), Fr::from(7)];
/// let recoded = recode_with_coeffs::<Fr>(&bad_mix_subset, &coeffs);
/// assert_eq!(recoded, None);
/// # // FIXME: assert_eq!(recoded, None);
/// # // FIXME: incompatible shards should be signalled somehow
/// # // assert!(matches!(recoded, Err(KomodoError::IncompatibleShards(_))));
/// # // let err_string = recoded.unwrap_err().to_string();
Loading