From: Caleb Spare Date: Tue, 5 Feb 2013 12:06:00 +0000 (-0500) Subject: container/heap: fix comment typo in example test X-Git-Tag: go1.1rc2~1134 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dff017ea990795b43684d986dce3e0b9c23c2d65;p=gostls13.git 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://golang.org/cl/7279045 --- diff --git a/src/pkg/container/heap/example_pq_test.go b/src/pkg/container/heap/example_pq_test.go index 0f91de138e..8cbeb8d708 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. }