diff options
| author | cuishuang <imcusg@gmail.com> | 2024-11-20 21:56:27 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-11-21 22:16:20 +0000 |
| commit | a925402b62c06d1cfe2b345cba0b11fa06b8401d (patch) | |
| tree | 3d91369411c3148ade70b21da8d01f7f0dcec655 /src/sort/example_multi_test.go | |
| parent | 154fb4e1d45e503658542dee5296243a6146e7ca (diff) | |
| download | go-a925402b62c06d1cfe2b345cba0b11fa06b8401d.tar.xz | |
all: fix some function names and typos in comment
Change-Id: I07e7c8eaa5bd4bac0d576b2f2f4cd3f81b0b77a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/630055
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/sort/example_multi_test.go')
| -rw-r--r-- | src/sort/example_multi_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort/example_multi_test.go b/src/sort/example_multi_test.go index 93f2d3ec57..c21050b725 100644 --- a/src/sort/example_multi_test.go +++ b/src/sort/example_multi_test.go @@ -87,7 +87,7 @@ var changes = []Change{ {"gri", "Smalltalk", 80}, } -// ExampleMultiKeys demonstrates a technique for sorting a struct type using different +// Example_sortMultiKeys demonstrates a technique for sorting a struct type using different // sets of multiple fields in the comparison. We chain together "Less" functions, each of // which compares a single field. func Example_sortMultiKeys() { |
