Skip to content

Commit

Permalink
Fix typos in comments for clarity and grammatical correctness (Consen…
Browse files Browse the repository at this point in the history
  • Loading branch information
defitricks authored and lucasmenendez committed Jan 31, 2025
1 parent b13be9d commit 2dc142b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type NewBuilder func(*big.Int, CompileConfig) (Builder, error)
type Compiler interface {
constraint.CustomizableSystem

// MarkBoolean sets (but do not constraint!) v to be boolean
// MarkBoolean sets (but does not constrain!) v to be boolean
// This is useful in scenarios where a variable is known to be boolean through a constraint
// that is not api.AssertIsBoolean. If v is a constant, this is a no-op.
MarkBoolean(v Variable)
Expand Down
2 changes: 1 addition & 1 deletion frontend/variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
type Variable interface{}

// IsCanonical returns true if the Variable has been normalized in a (internal) LinearExpression
// by one of the constraint system builder. In other words, if the Variable is a circuit input OR
// by one of the constraint system builders. In other words, if the Variable is a circuit input OR
// returned by the API.
func IsCanonical(v Variable) bool {
switch v.(type) {
Expand Down

0 comments on commit 2dc142b

Please sign in to comment.