]> Cypherpunks repositories - gostls13.git/commitdiff
all: use the indefinite article an in comments
authorJes Cok <xigua67damn@gmail.com>
Tue, 26 Sep 2023 05:38:14 +0000 (05:38 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 27 Sep 2023 01:16:19 +0000 (01:16 +0000)
This is a follow up of CL 530120.

Change-Id: Ifa0bd1c3bb9bb1202568eaae27500bcea376f56b
GitHub-Last-Rev: b4154fa1fc205a6a1af050ab49a4738f73b3c32a
GitHub-Pull-Request: golang/go#63228
Reviewed-on: https://go-review.googlesource.com/c/go/+/531136
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/go/internal/script/engine.go
src/cmd/go/testdata/script/test_fuzz_limit_dup_entry.txt
src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt
src/crypto/ecdh/ecdh.go
src/crypto/internal/edwards25519/field/fe_generic.go
src/encoding/xml/marshal.go

index 43054a279b853f4f4550e3cbd47a0973d9bf036c..ba821712e5ec69bc35ba85183d982b8365529921 100644 (file)
@@ -322,7 +322,7 @@ type command struct {
        background bool     // command should run in background (ends with a trailing &)
 }
 
-// A expectedStatus describes the expected outcome of a command.
+// An expectedStatus describes the expected outcome of a command.
 // Script execution halts when a command does not match its expected status.
 type expectedStatus string
 
index 01217aed527d90e72c44dc35934d796b0206abe5..d69f6e031b0ebdb76222dce67e76066c7c62c4c9 100644 (file)
@@ -4,7 +4,7 @@ env GOCACHE=$WORK/cache
 
 # FuzzA attempts to cause the mutator to create duplicate inputs that generate
 # new coverage. Previously this would trigger a corner case when the fuzzer
-# had a execution limit, causing it to deadlock and sit in the coordinator
+# had an execution limit, causing it to deadlock and sit in the coordinator
 # loop indefinitely, failing to exit once the limit had been exhausted.
 
 go test -fuzz=FuzzA -fuzztime=100x -parallel=1
index 1279f6e9ac02c7f21cd96244afb13701684fe3e9..c8af9be2d49a1ebe74312aade5c7df4cc0d8e08b 100644 (file)
@@ -1,6 +1,6 @@
 # Test that minimization doesn't use dirty coverage snapshots when it
 # is unable to actually minimize the input. We do this by checking that
-# a expected value appears in the cache. If a dirty coverage map is used
+# an expected value appears in the cache. If a dirty coverage map is used
 # (i.e. the coverage map generated during the last minimization step,
 # rather than the map provided with the initial input) then this value
 # is unlikely to appear in the cache, since the map generated during
index b86f5217878251f9f6515a6600b9f8af8bf8d0bc..b21b5697d0e37fc01144618dcd203ff1f3258d40 100644 (file)
@@ -44,7 +44,7 @@ type Curve interface {
        // selected public keys can cause ECDH to return an error.
        NewPublicKey(key []byte) (*PublicKey, error)
 
-       // ecdh performs a ECDH exchange and returns the shared secret. It's exposed
+       // ecdh performs an ECDH exchange and returns the shared secret. It's exposed
        // as the PrivateKey.ECDH method.
        //
        // The private method also allow us to expand the ECDH interface with more
@@ -114,7 +114,7 @@ type PrivateKey struct {
        publicKeyOnce sync.Once
 }
 
-// ECDH performs a ECDH exchange and returns the shared secret. The PrivateKey
+// ECDH performs an ECDH exchange and returns the shared secret. The PrivateKey
 // and PublicKey must use the same curve.
 //
 // For NIST curves, this performs ECDH as specified in SEC 1, Version 2.0,
index 3582df8b22f2f9e9b5d57631bb8b1c3a8b01920b..86f5fd95534d949ecc2c4f8ba08b7e5974bf29fd 100644 (file)
@@ -156,7 +156,7 @@ func feMulGeneric(v, a, b *Element) {
        rr4 := r4.lo&maskLow51Bits + c3
 
        // Now all coefficients fit into 64-bit registers but are still too large to
-       // be passed around as a Element. We therefore do one last carry chain,
+       // be passed around as an Element. We therefore do one last carry chain,
        // where the carries will be small enough to fit in the wiggle room above 2⁵¹.
        *v = Element{rr0, rr1, rr2, rr3, rr4}
        v.carryPropagate()
index c2931a534b47a14bdbb5a6a625e0963345985b9f..7c52dd6d99a608d9f83b80fc813dc67ef632399e 100644 (file)
@@ -543,7 +543,7 @@ func (p *printer) marshalValue(val reflect.Value, finfo *fieldInfo, startTemplat
                }
        }
 
-       // If a empty name was found, namespace is overridden with an empty space
+       // If an empty name was found, namespace is overridden with an empty space
        if tinfo.xmlname != nil && start.Name.Space == "" &&
                tinfo.xmlname.xmlns == "" && tinfo.xmlname.name == "" &&
                len(p.tags) != 0 && p.tags[len(p.tags)-1].Space != "" {