Docfixes.

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
therealyingtong 2021-09-27 23:19:06 +02:00 committed by Sean Bowe
parent 6b6b515232
commit 4a13ab4f6b
2 changed files with 4 additions and 1 deletions

View File

@ -230,6 +230,9 @@ impl<C: CurveAffine, EccChip: EccInstructions<C> + Clone + Debug + Eq>
}
/// Returns `self + other` using incomplete addition.
/// The arguments are type-constrained not to be the identity point,
/// and since exceptional cases return an Error, the result also cannot
/// be the identity point.
pub fn add_incomplete(
&self,
mut layouter: impl Layouter<C::Base>,

View File

@ -283,7 +283,7 @@ impl EccChip {
running_sum_config,
};
// Create witness point gates
// Create witness point gate
{
let config: witness_point::Config = (&config).into();
config.create_gate(meta);