]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/x509: revert change of article in SystemCertPool docs
authorLeigh McCulloch <leighmcc@gmail.com>
Sat, 1 Sep 2018 15:43:20 +0000 (15:43 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 1 Sep 2018 15:43:42 +0000 (15:43 +0000)
The words 'the returned' were changed to 'a returned' in
8201b92aae7ba51ed2e2645c1f7815bfe845db72 when referring to the value
returned by SystemCertPool. Brad Fitz pointed out after that commit was
merged that it makes the wording of this function doc inconsistent with
rest of the stdlib since 'a returned' is not used anywhere, but 'the
returned' is frequently used.

Fixes #27385

Change-Id: I289b533a5a0b5c63eaf0abb6dec0085388ecf76b
GitHub-Last-Rev: 6c83b8025704e291ebe5b15dd2ac3fa65b1b48ff
GitHub-Pull-Request: golang/go#27438
Reviewed-on: https://go-review.googlesource.com/132776
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/x509/cert_pool.go

index 5381f0d659043d3b5bf014d436dfbfbc1ee2960f..86aba6710daf8f1653bb04438f4b7cde3d0178c8 100644 (file)
@@ -47,7 +47,7 @@ func (s *CertPool) copy() *CertPool {
 
 // SystemCertPool returns a copy of the system cert pool.
 //
-// Any mutations to a returned pool are not written to disk and do
+// Any mutations to the returned pool are not written to disk and do
 // not affect any other pool returned by SystemCertPool.
 //
 // New changes in the the system cert pool might not be reflected