sumdb: correct spelling mistakes

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>
diff --git a/sumdb/client.go b/sumdb/client.go
index 70dd56f..965a7e2 100644
--- a/sumdb/client.go
+++ b/sumdb/client.go
@@ -109,7 +109,7 @@
 	}
 }
 
-// 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)
diff --git a/sumdb/note/note.go b/sumdb/note/note.go
index 140b937..8c22b19 100644
--- a/sumdb/note/note.go
+++ b/sumdb/note/note.go
@@ -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"
diff --git a/sumdb/storage/storage.go b/sumdb/storage/storage.go
index 3c80ac2..1806380 100644
--- a/sumdb/storage/storage.go
+++ b/sumdb/storage/storage.go
@@ -18,7 +18,7 @@
 
 	// 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