diff options
| author | Robert Griesemer <gri@golang.org> | 2014-05-02 13:17:55 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2014-05-02 13:17:55 -0700 |
| commit | f3913624a7615fcd25cad078c19e0374ad4e1f3f (patch) | |
| tree | a5442ef5ff746e2dc978f5392c67f65f167de83a /src/pkg/container | |
| parent | ab5247efc40b3e7db4ebfa247d91037a1fa2bc63 (diff) | |
| download | go-f3913624a7615fcd25cad078c19e0374ad4e1f3f.tar.xz | |
std lib: fix various typos in comments
Where the spelling changed from British to
US norm (e.g., optimise -> optimize) it follows
the style in that file.
LGTM=adonovan
R=golang-codereviews, adonovan
CC=golang-codereviews
https://golang.org/cl/96980043
Diffstat (limited to 'src/pkg/container')
| -rw-r--r-- | src/pkg/container/heap/heap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/container/heap/heap.go b/src/pkg/container/heap/heap.go index 3fe2327ad2..c467a11910 100644 --- a/src/pkg/container/heap/heap.go +++ b/src/pkg/container/heap/heap.go @@ -78,7 +78,7 @@ func Remove(h Interface, i int) interface{} { return h.Pop() } -// Fix reestablishes the heap ordering after the element at index i has changed its value. +// Fix re-establishes the heap ordering after the element at index i has changed its value. // Changing the value of the element at index i and then calling Fix is equivalent to, // but less expensive than, calling Remove(h, i) followed by a Push of the new value. // The complexity is O(log(n)) where n = h.Len(). |
