1
0
mirror of https://github.com/golang/go synced 2024-09-25 13:30:12 -06:00

sort: fix comment typo

R=rsc
CC=golang-dev
https://golang.org/cl/198084
This commit is contained in:
Andrey Mirtchovski 2010-02-02 23:01:21 -08:00 committed by Russ Cox
parent 8b8c103b2b
commit 4a9a0056c1

View File

@ -12,7 +12,7 @@ package sort
type Interface interface { type Interface interface {
// Len is the number of elements in the collection. // Len is the number of elements in the collection.
Len() int Len() int
// Less returns whether the element with index i is should sort // Less returns whether the element with index i should sort
// before the element with index j. // before the element with index j.
Less(i, j int) bool Less(i, j int) bool
// Swap swaps the elements with indexes i and j. // Swap swaps the elements with indexes i and j.