This commit is contained in:
Josh Soref 2022-02-21 06:40:09 -05:00 committed by GitHub
parent ce851a5929
commit 819de02101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 51 additions and 51 deletions

View file

@ -86,7 +86,7 @@ func (b *Balancer) Push(x interface{}) {
b.handlers = append(b.handlers, h)
}
// Pop implements heap.Interface for poping an item from the heap.
// Pop implements heap.Interface for popping an item from the heap.
// It panics if b.Len() < 1.
func (b *Balancer) Pop() interface{} {
h := b.handlers[len(b.handlers)-1]