diff options
author | Joe Tsai <joetsai@digital-static.net> | 2017-07-25 14:07:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 14:07:32 -0700 |
commit | bf7264101727b1948ee27dd768f7ad48c823bca1 (patch) | |
tree | 5ca9a663dd5cf048ab63f54699dcde288fcbfdee /cmp | |
parent | d54e85569d47be6e6406055190a66430b6a905b7 (diff) | |
download | go-cmp-bf7264101727b1948ee27dd768f7ad48c823bca1.tar.gz |
Trivial documentation fixes for cmp/internal/value (#27)
Diffstat (limited to 'cmp')
-rw-r--r-- | cmp/internal/value/format.go | 1 | ||||
-rw-r--r-- | cmp/internal/value/sort.go | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cmp/internal/value/format.go b/cmp/internal/value/format.go index e26395d..da9d6cf 100644 --- a/cmp/internal/value/format.go +++ b/cmp/internal/value/format.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE.md file. +// Package value provides functionality for reflect.Value types. package value import ( diff --git a/cmp/internal/value/sort.go b/cmp/internal/value/sort.go index da00896..ea73cf1 100644 --- a/cmp/internal/value/sort.go +++ b/cmp/internal/value/sort.go @@ -11,7 +11,7 @@ import ( "sort" ) -// SortKey sorts a list of map keys, deduplicating keys if necessary. +// SortKeys sorts a list of map keys, deduplicating keys if necessary. // The type of each value must be comparable. func SortKeys(vs []reflect.Value) []reflect.Value { if len(vs) == 0 { |