diff options
| author | ebiggers <ebiggers@google.com> | 2019-09-08 19:46:59 -0700 |
|---|---|---|
| committer | Joseph Richey <joerichey@google.com> | 2019-09-08 19:46:59 -0700 |
| commit | 6445dad7d66fa6a1867090fcd9602c98863649f6 (patch) | |
| tree | c0e5209f018a50ee8b0a1277cc7b06266eff18c1 /crypto/rand.go | |
| parent | 28b29d1c97ffd97671186b5e1fae37b64424f9ee (diff) | |
Fix various typos and grammatical errors (#141)
These were found by a combination of manual review and a custom script
that checks for common errors.
Also removed an outdated sentence from the comment for setupBefore().
Diffstat (limited to 'crypto/rand.go')
| -rw-r--r-- | crypto/rand.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand.go b/crypto/rand.go index 0778ebd..736d969 100644 --- a/crypto/rand.go +++ b/crypto/rand.go @@ -44,7 +44,7 @@ func NewRandomBuffer(length int) ([]byte, error) { } // NewRandomKey creates a random key of the specified length. This function uses -// the same random number generation process a NewRandomBuffer. +// the same random number generation process as NewRandomBuffer. func NewRandomKey(length int) (*Key, error) { return NewFixedLengthKeyFromReader(randReader{}, length) } |