Skip to content

Commit

Permalink
sumdb: correct spelling mistakes
Browse files Browse the repository at this point in the history
Change-Id: Idb3276b201dbce094201fc5824a1e151f4f71ce8
Reviewed-on: https://go-review.googlesource.com/c/mod/+/500456
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
  • Loading branch information
alexandear authored and gopherbot committed Jun 5, 2023
1 parent e343115 commit e81ad10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sumdb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func NewClient(ops ClientOps) *Client {
}
}

// init initiailzes the client (if not already initialized)
// init initializes the client (if not already initialized)
// and returns any initialization error.
func (c *Client) init() error {
c.initOnce.Do(c.initWork)
Expand Down
2 changes: 1 addition & 1 deletion sumdb/note/note.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
// not contain spaces or newlines).
//
// If Open is given access to a Verifiers including the
// Verifier for this key, then it will succeed at verifiying
// Verifier for this key, then it will succeed at verifying
// the encoded message and returning the parsed Note:
//
// vkey := "PeterNeumann+c74f20a3+ARpc2QcUPDhMQegwxbzhKqiBfsVkmqq/LDE4izWy10TW"
Expand Down
2 changes: 1 addition & 1 deletion sumdb/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Storage interface {

// ReadWrite runs f in a read-write transaction.
// If f returns an error, the transaction aborts and returns that error.
// If f returns nil, the transaction attempts to commit and then then return nil.
// If f returns nil, the transaction attempts to commit and then return nil.
// Otherwise it tries again. Note that f may be called multiple times and that
// the result only describes the effect of the final call to f.
// The caller must take care not to use any state computed during
Expand Down

0 comments on commit e81ad10

Please sign in to comment.