From: Nigel Tao Date: Sun, 7 Apr 2019 03:50:06 +0000 (+1000) Subject: all: spell "Deprecated: Use etc" consistently X-Git-Tag: go1.13beta1~745 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9a0a150c9f50f920f35cc4d50ac3005503f44f2d;p=gostls13.git all: spell "Deprecated: Use etc" consistently Change-Id: I209b75dc8dc4da881b68e5c5d98cbf08c1032dfc Reviewed-on: https://go-review.googlesource.com/c/go/+/171098 Reviewed-by: Dmitri Shuralyov --- diff --git a/src/crypto/x509/x509.go b/src/crypto/x509/x509.go index 0d68d82993..4aca7ca40b 100644 --- a/src/crypto/x509/x509.go +++ b/src/crypto/x509/x509.go @@ -2278,7 +2278,7 @@ type CertificateRequest struct { // Attributes contains the CSR attributes that can parse as // pkix.AttributeTypeAndValueSET. // - // Deprecated: use Extensions and ExtraExtensions instead for parsing and + // Deprecated: Use Extensions and ExtraExtensions instead for parsing and // generating the requestedExtensions attribute. Attributes []pkix.AttributeTypeAndValueSET diff --git a/src/go/importer/importer.go b/src/go/importer/importer.go index c809c9ab86..fbbc3c9017 100644 --- a/src/go/importer/importer.go +++ b/src/go/importer/importer.go @@ -73,7 +73,7 @@ func ForCompiler(fset *token.FileSet, compiler string, lookup Lookup) types.Impo // For calls ForCompiler with a new FileSet. // -// Deprecated: use ForCompiler, which populates a FileSet +// Deprecated: Use ForCompiler, which populates a FileSet // with the positions of objects created by the importer. func For(compiler string, lookup Lookup) types.Importer { return ForCompiler(token.NewFileSet(), compiler, lookup) diff --git a/src/runtime/cpuprof.go b/src/runtime/cpuprof.go index e00dcb1bbd..81038f5c48 100644 --- a/src/runtime/cpuprof.go +++ b/src/runtime/cpuprof.go @@ -179,7 +179,7 @@ func (p *cpuProfile) addLostAtomic64(count uint64) { // The details of generating that format have changed, // so this functionality has been removed. // -// Deprecated: use the runtime/pprof package, +// Deprecated: Use the runtime/pprof package, // or the handlers in the net/http/pprof package, // or the testing package's -test.cpuprofile flag instead. func CPUProfile() []byte {