Skip to content

Commit

Permalink
Merge pull request #341 from qichengzx/master
Browse files Browse the repository at this point in the history
fix #275
  • Loading branch information
chai2010 committed Aug 27, 2018
2 parents ace223d + 5c31aca commit 1721cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch2-cgo/ch2-06-qsort.md
Expand Up @@ -157,7 +157,7 @@ import "sort"
func main() {
values := []int32{42, 9, 101, 95, 27, 25}

sort.Slice(values, less func(i, j int) bool {
sort.Slice(values, func(i, j int) bool {
return values[i] < values[j]
})

Expand Down

0 comments on commit 1721cb2

Please sign in to comment.