Skip to content

Commit 4e4c30d

Browse files
committed
doc: fix typo
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
1 parent 598ad67 commit 4e4c30d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/flat/slice.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ func Values(items []interface{}) []reflect.Value {
127127
return sv
128128
}
129129

130-
// Values returns the items values as a slice of interface{}. Nested
131-
// Slice items are flattened.
130+
// Interfaces returns the items values as a slice of
131+
// interface{}. Nested Slice items are flattened.
132132
func Interfaces(items ...interface{}) []interface{} {
133133
l, flattened := Len(items)
134134
if flattened {

0 commit comments

Comments
 (0)