Skip to content

Commit 5858526

Browse files
committed
Update exp_maps.go
1 parent e12c0f3 commit 5858526

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/generics/exp_slices/exp_slices.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"golang.org/x/exp/slices"
66
)
77

8+
// ExpSlices -- Go 1.18 リリース時には含まれなかったジェネリクス対応 汎用slice処理が定義されている golang.org/x/exp/slices パッケージのサンプルです。
89
func ExpSlices() error {
910
var (
1011
s1 = []string{"hello", "world"}

0 commit comments

Comments
 (0)