1
0
mirror of https://github.com/golang/go synced 2024-09-25 05:10:12 -06:00

crypto/x509: revert the to a in SystemCertPool docs

The words 'the returned' were changed to 'a returned' in
8201b92aae 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
This commit is contained in:
Leigh McCulloch 2018-09-01 14:30:24 +00:00
parent 1d15354fb9
commit 6c83b80257

View 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