diff options
author | Caleb Spare <cespare@gmail.com> | 2013-02-05 07:06:00 -0500 |
---|---|---|
committer | Caleb Spare <cespare@gmail.com> | 2013-02-05 07:06:00 -0500 |
commit | 303aeb28b6bb0b5162842e832a9ecd14cf088abb (patch) | |
tree | 7aae01999e881132bc3a0f8408bb97ae0c6b7949 /src/pkg/container | |
parent | 8b010f3dc165ef39ab7b8f776f01838ed756ff3c (diff) | |
download | go-303aeb28b6bb0b5162842e832a9ecd14cf088abb.tar.gz |
container/heap: fix comment typo in example test
This updates a bad reference to a method name in the example priority queue test.
The error was introduced in the example refactoring in rev. 2ea8f07b2ffe.
R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7279045
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/container')
-rw-r--r-- | src/pkg/container/heap/example_pq_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/container/heap/example_pq_test.go b/src/pkg/container/heap/example_pq_test.go index 0f91de138..8cbeb8d70 100644 --- a/src/pkg/container/heap/example_pq_test.go +++ b/src/pkg/container/heap/example_pq_test.go @@ -14,7 +14,7 @@ import ( type Item struct { value string // The value of the item; arbitrary. priority int // The priority of the item in the queue. - // The index is needed by changePriority and is maintained by the heap.Interface methods. + // The index is needed by update and is maintained by the heap.Interface methods. index int // The index of the item in the heap. } |