Skip to content

Commit

Permalink
chore: fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shuoer86 committed Oct 30, 2023
1 parent 0c3e3b5 commit 2ddacfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion halo2_gadgets/src/utilities/lookup_range_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl<F: PrimeFieldBits, const K: usize> LookupRangeCheckConfig<F, K> {
}

/// If `strict` is set to "true", the field element must fit into
/// `num_words * K` bits. In other words, the the final cumulative sum `z_{num_words}`
/// `num_words * K` bits. In other words, the final cumulative sum `z_{num_words}`
/// must be zero.
///
/// If `strict` is set to "false", the final `z_{num_words}` is not constrained.
Expand Down
2 changes: 1 addition & 1 deletion halo2_proofs/src/poly/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub trait ParamsProver<'params, C: CurveAffine>: Params<'params, C> {
fn verifier_params(&'params self) -> &'params Self::ParamsVerifier;
}

/// Verifier specific functionality with circuit constaints
/// Verifier specific functionality with circuit constraints
pub trait ParamsVerifier<'params, C: CurveAffine>: Params<'params, C> {}

/// Multi scalar multiplication engine
Expand Down
2 changes: 1 addition & 1 deletion halo2_proofs/src/transcript.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub trait TranscriptReadBuffer<R: Read, C: CurveAffine, E: EncodedChallenge<C>>:
fn init(reader: R) -> Self;
}

/// Manages begining and finising of transcript pipeline.
/// Manages beginning and finishing of transcript pipeline.
pub trait TranscriptWriterBuffer<W: Write, C: CurveAffine, E: EncodedChallenge<C>>:
TranscriptWrite<C, E>
{
Expand Down

0 comments on commit 2ddacfb

Please sign in to comment.