Skip to content

Commit

Permalink
docs: comment typos (#1287)
Browse files Browse the repository at this point in the history
fix some typos in comments.
  • Loading branch information
xiaolou86 committed Oct 24, 2023
1 parent 4fff7a7 commit 338be19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/gno.land/r/demo/tests/tests.gno
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (t *TestRealmObject) Modify() {
}

//----------------------------------------
// Test helpers to test a particualr realm bug.
// Test helpers to test a particular realm bug.

type TestNode struct {
Name string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ An example of a category is a bounty, a chore, a defect, or a document.
A contribution is associated with a pull request.
A contribution has an evaluation life cycle.
A submission time is set when a contribution is added.
A last evaluation time is set when a contribution is evaluated and approved by a memeber.
A last evaluation time is set when a contribution is evaluated and approved by a member.
An approval time is set when a contribution is approved by all members (or when a future threshold is reached)

#### Submission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

type Committee struct {
members []std.Address // TODO - use avl tree or address set?
categories avl.Tree // A catagory is mapped to a list of evaluation criteria
categories avl.Tree // A category is mapped to a list of evaluation criteria
evaluation *Evaluation
}

Expand Down Expand Up @@ -84,7 +84,7 @@ func (c *Committee) AddContribution(pr *PullRequest, contributor std.Address) (c
if !c.isMember(std.GetOrigCaller()) {
return -1, false
}
// Check the category of the PR matches a catagory this committee evaluates
// Check the category of the PR matches a category this committee evaluates
// TODO check the category is an approved category
if c.categories.Has(pr.category) {
return c.evaluation.AddContribution(pr, contributor)
Expand Down
2 changes: 1 addition & 1 deletion tm2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* Minimal code - keep total footprint small.
* Minimal dependencies - all dependencies must get audited, and become part of
the repo.
* Modular dependencies - whereever reasonable, make components modular.
* Modular dependencies - wherever reasonable, make components modular.
* Completeness - software projects that don't become finished are projects
that are forever vulnerable. One of the primary goals of the Gno language
and related works is to become finished within a reasonable timeframe.
Expand Down

0 comments on commit 338be19

Please sign in to comment.