From 2ddacfb15e7147cbe8173bda509241095793b26a Mon Sep 17 00:00:00 2001 From: shuoer86 <129674997+shuoer86@users.noreply.github.com> Date: Mon, 30 Oct 2023 20:33:52 +0800 Subject: [PATCH] chore: fix typos in comments --- halo2_gadgets/src/utilities/lookup_range_check.rs | 2 +- halo2_proofs/src/poly/commitment.rs | 2 +- halo2_proofs/src/transcript.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/halo2_gadgets/src/utilities/lookup_range_check.rs b/halo2_gadgets/src/utilities/lookup_range_check.rs index 7312206970..0679e202de 100644 --- a/halo2_gadgets/src/utilities/lookup_range_check.rs +++ b/halo2_gadgets/src/utilities/lookup_range_check.rs @@ -213,7 +213,7 @@ impl LookupRangeCheckConfig { } /// 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. diff --git a/halo2_proofs/src/poly/commitment.rs b/halo2_proofs/src/poly/commitment.rs index 590767e68e..ebc26fe9c3 100644 --- a/halo2_proofs/src/poly/commitment.rs +++ b/halo2_proofs/src/poly/commitment.rs @@ -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 diff --git a/halo2_proofs/src/transcript.rs b/halo2_proofs/src/transcript.rs index ea8cf4f5ea..6e4f812bdf 100644 --- a/halo2_proofs/src/transcript.rs +++ b/halo2_proofs/src/transcript.rs @@ -87,7 +87,7 @@ pub trait TranscriptReadBuffer>: fn init(reader: R) -> Self; } -/// Manages begining and finising of transcript pipeline. +/// Manages beginning and finishing of transcript pipeline. pub trait TranscriptWriterBuffer>: TranscriptWrite {