Skip to content

Commit 3391c4a

Browse files
authored
extendSlice optimization is still valid for go1.19 (#127)
1 parent 4601a45 commit 3391c4a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

json/reflect.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build go1.18
2-
// +build go1.18
1+
//go:build go1.20
2+
// +build go1.20
33

44
package json
55

json/reflect_optimize.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build !go1.18
2-
// +build !go1.18
1+
//go:build !go1.20
2+
// +build !go1.20
33

44
package json
55

0 commit comments

Comments
 (0)