Skip to content

Commit

Permalink
Improve the clarity of docs for Witness{Var}Ext::get_openings
Browse files Browse the repository at this point in the history
  • Loading branch information
winderica committed Sep 8, 2024
1 parent 4c0254e commit d07a811
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions folding-schemes/src/folding/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ pub trait WitnessExt<F: PrimeField> {
/// The in-circuit representation of the witness.
type Var: AllocVar<Self, F> + WitnessVarExt<F>;

/// Returns the openings (i.e., values being committed to) contained in the
/// witness.
/// Returns the openings (i.e., the values being committed to and the
/// randomness) contained in the witness.
fn get_openings(&self) -> Vec<(&[F], F)>;
}

pub trait WitnessVarExt<F: PrimeField> {
/// Returns the openings (i.e., values being committed to) contained in the
/// witness.
/// Returns the openings (i.e., the values being committed to and the
/// randomness) contained in the witness.
fn get_openings(&self) -> Vec<(&[FpVar<F>], FpVar<F>)>;
}

0 comments on commit d07a811

Please sign in to comment.