]> Cypherpunks repositories - gostls13.git/commitdiff
all: spell "Deprecated: Use etc" consistently
authorNigel Tao <nigeltao@golang.org>
Sun, 7 Apr 2019 03:50:06 +0000 (13:50 +1000)
committerNigel Tao <nigeltao@golang.org>
Wed, 10 Apr 2019 01:28:25 +0000 (01:28 +0000)
Change-Id: I209b75dc8dc4da881b68e5c5d98cbf08c1032dfc
Reviewed-on: https://go-review.googlesource.com/c/go/+/171098
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/crypto/x509/x509.go
src/go/importer/importer.go
src/runtime/cpuprof.go

index 0d68d82993e95cb09590940818dd4953cdefddeb..4aca7ca40b13b969f523966876802ca36c1968c1 100644 (file)
@@ -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
 
index c809c9ab8678c3ffd15435ae9957a973d7c5b5ed..fbbc3c9017fc8d665b9b1e421d6be50a9ffbcb4f 100644 (file)
@@ -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)
index e00dcb1bbd2ef45586c146d5b632216351407c16..81038f5c48cf55074583b4b52a7adf6c123cd133 100644 (file)
@@ -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 {