Skip to content

Fix typographical errors and update broken link #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Lastly, this library is instrumented with profiling infrastructure that prints d

## Usage

### [`PolynomialCommitment`](https://github.com/arkworks-rs/poly-commit/blob/master/src/lib.rs#L145)
### [`PolynomialCommitment`](https://github.com/arkworks-rs/poly-commit/blob/master/poly-commit/src/lib.rs#L145)

This trait defines the interface for a polynomial commitment scheme. It is recommended to use the schemes from this crate that implement the `PolynomialCommitment` trait
(e.g. the [vanilla KZG scheme](./src/kzg10/mod.rs) does not implement this trait, but the [Marlin scheme](./src/marlin/mod.rs) which uses it under the hood, does).
Expand Down
2 changes: 1 addition & 1 deletion poly-commit/src/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub enum LinearCombinationCoeffVar<TargetField: PrimeField, BaseField: PrimeFiel
One,
/// Coefficient -1.
MinusOne,
/// Other coefficient, represented as a "emulated" field element.
/// Other coefficient, represented as an "emulated" field element.
Var(EmulatedFpVar<TargetField, BaseField>),
}

Expand Down
2 changes: 1 addition & 1 deletion poly-commit/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl core::fmt::Display for Error {
label
),
Error::MissingLHS { label } => {
write!(f, "Equation \"{}\" does not have a LHS.", label)
write!(f, "Equation \"{}\" does not have an LHS.", label)
},
Error::MissingRng => write!(f, "hiding commitments require `Some(rng)`"),
Error::DegreeIsZero => write!(
Expand Down