summaryrefslogtreecommitdiff
path: root/spew/dump.go
diff options
context:
space:
mode:
Diffstat (limited to 'spew/dump.go')
-rw-r--r--spew/dump.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/spew/dump.go b/spew/dump.go
index 771b473..b5dcfb2 100644
--- a/spew/dump.go
+++ b/spew/dump.go
@@ -272,9 +272,9 @@ func (s *valuesSorter) Less(i, j int) bool {
return s.values[i].String() < s.values[j].String()
}
-// Generic sort function for native types: int, uint, bool, string and uintptr.
-// Other inputs are sort according to their Value.String() value to ensure
-// display stability.
+// SortValues is a generic sort function for native types: int, uint, bool,
+// string and uintptr. Other inputs are sorted according to their
+// Value.String() value to ensure display stability.
func SortValues(values []reflect.Value) {
if len(values) == 0 {
return