mirror of
https://github.com/golang/go
synced 2024-11-12 10:30:23 -07:00
sort: fix comment typo
R=rsc CC=golang-dev https://golang.org/cl/198084
This commit is contained in:
parent
8b8c103b2b
commit
4a9a0056c1
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user