From dff017ea990795b43684d986dce3e0b9c23c2d65 Mon Sep 17 00:00:00 2001 From: Caleb Spare Date: Tue, 5 Feb 2013 07:06:00 -0500 Subject: [PATCH] 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 --- src/pkg/container/heap/example_pq_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. } -- 2.48.1