this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

pkg/list/sort: fix syntax in docs

Closes #1668

Signed-off-by: Aman Karmani <aman@tmm1.net>
Change-Id: Ia3067a0ba770aaaffbdaab5274ecdead1b5150cc
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/537153
Reviewed-by: Paul Jolly <paul@myitcv.io>

authored by

Aman Karmani and committed by
Paul Jolly
00c5ddf5 db3e6ace

+1 -1
+1 -1
pkg/list/sort.go
··· 62 62 // 63 63 // Sort([2, 3, 1], list.Ascending) 64 64 // 65 - // Sort{{a: 2}, {a: 3}, {a: 1}, {x: {}, y: {}, less: x.a < y.a}} 65 + // Sort([{a: 2}, {a: 3}, {a: 1}], {x: {}, y: {}, less: x.a < y.a}) 66 66 // 67 67 func Sort(list []cue.Value, cmp cue.Value) (sorted []cue.Value, err error) { 68 68 s := valueSorter{list, cmp, nil}