Skip to content

Commit e81ad10

Browse files
alexandeargopherbot
authored andcommitted
sumdb: correct spelling mistakes
Change-Id: Idb3276b201dbce094201fc5824a1e151f4f71ce8 Reviewed-on: https://go-review.googlesource.com/c/mod/+/500456 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Bryan Mills <[email protected]>
1 parent e343115 commit e81ad10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sumdb/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func NewClient(ops ClientOps) *Client {
109109
}
110110
}
111111

112-
// init initiailzes the client (if not already initialized)
112+
// init initializes the client (if not already initialized)
113113
// and returns any initialization error.
114114
func (c *Client) init() error {
115115
c.initOnce.Do(c.initWork)

sumdb/note/note.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
// not contain spaces or newlines).
125125
//
126126
// If Open is given access to a Verifiers including the
127-
// Verifier for this key, then it will succeed at verifiying
127+
// Verifier for this key, then it will succeed at verifying
128128
// the encoded message and returning the parsed Note:
129129
//
130130
// vkey := "PeterNeumann+c74f20a3+ARpc2QcUPDhMQegwxbzhKqiBfsVkmqq/LDE4izWy10TW"

sumdb/storage/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Storage interface {
1818

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

0 commit comments

Comments
 (0)