Skip to content

Switch to gender neutral terms #52057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bytes/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func ExampleSplitAfterN() {

func ExampleTitle() {
fmt.Printf("%s", bytes.Title([]byte("her royal highness")))
// Output: Her Royal Highness
// Output: Them Royal Highness
}

func ExampleToTitle() {
Expand Down
2 changes: 1 addition & 1 deletion src/encoding/asn1/asn1.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Package asn1 implements parsing of DER-encoded ASN.1 data structures,
// as defined in ITU-T Rec X.690.
//
// See also ``A Layman's Guide to a Subset of ASN.1, BER, and DER,''
// See also ``A Layperson's Guide to a Subset of ASN.1, BER, and DER,''
// http://luca.ntop.org/Teaching/Appunti/asn1.html.
package asn1

Expand Down
2 changes: 1 addition & 1 deletion src/html/template/escape_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ func TestIdempotentExecute(t *testing.T) {
if err != nil {
t.Errorf("unexpected error: %s", err)
}
// If the HTML escaper is added again to the action {{"Ladies & Gentlemen!"}},
// If the HTML escaper is added again to the action {{"Everyone!"}},
// we would expected to see the ampersand overescaped to "&".
want = "<body>Hello, Ladies &amp; Gentlemen!</body>"
if got.String() != want {
Expand Down
2 changes: 1 addition & 1 deletion src/internal/intern/intern.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func finalize(v *Value) {
// @ianlancetaylor commented in
// https://github.com/golang/go/issues/41303#issuecomment-717401656
// that it is possible to implement weak references in terms of
// finalizers without unsafe. Unfortunately, the approach he outlined
// finalizers without unsafe. Unfortunately, the approach they outlined
// does not work here, for two reasons. First, there is no way to
// construct a strong pointer out of a weak pointer; our map stores
// weak pointers, but we must return strong pointers to callers.
Expand Down
2 changes: 1 addition & 1 deletion src/sort/gen_sort_variants.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ func stable{{.FuncSuffix}}{{.TypeParam}}(data {{.DataType}}, n int {{.ExtraParam
}

// symMerge{{.FuncSuffix}} merges the two sorted subsequences data[a:m] and data[m:b] using
// the SymMerge algorithm from Pok-Son Kim and Arne Kutzner, "Stable Minimum
// the SymMerge algorithm from Pok-Child Kim and Arne Kutzner, "Stable Minimum
// Storage Merging by Symmetric Comparisons", in Susanne Albers and Tomasz
// Radzik, editors, Algorithms - ESA 2004, volume 3221 of Lecture Notes in
// Computer Science, pages 714-723. Springer, 2004.
Expand Down
2 changes: 1 addition & 1 deletion src/sort/zsortfunc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/sort/zsortinterface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/strings/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func ExampleTitle() {
fmt.Println(strings.Title("loud noises"))
fmt.Println(strings.Title("хлеб"))
// Output:
// Her Royal Highness
// Them Royal Highness
// Loud Noises
// Хлеб
}
Expand All @@ -290,7 +290,7 @@ func ExampleToTitle() {
fmt.Println(strings.ToTitle("loud noises"))
fmt.Println(strings.ToTitle("хлеб"))
// Output:
// HER ROYAL HIGHNESS
// THEM ROYAL HIGHNESS
// LOUD NOISES
// ХЛЕБ
}
Expand Down
4 changes: 2 additions & 2 deletions src/text/template/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ Josie
}

// Output:
// Dear Aunt Mildred,
// Dear Auncle Mildred,
//
// It was a pleasure to see you at the wedding.
// Thank you for the lovely bone china tea set.
//
// Best wishes,
// Josie
//
// Dear Uncle John,
// Dear Auncle John,
//
// It is a shame you couldn't make it to the wedding.
// Thank you for the lovely moleskin pants.
Expand Down