Skip to content

Commit 3605de0

Browse files
committed
Drop unused code.
1 parent f372888 commit 3605de0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

internal/generate/utils.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,6 @@ func isNumericType(str string) bool {
255255
return slices.Contains(numTypes, str)
256256
}
257257

258-
func allItemsAreSame[T comparable](a []T) bool {
259-
for _, v := range a {
260-
if v != a[0] {
261-
return false
262-
}
263-
}
264-
return true
265-
}
266-
267258
// sortedKeys returns a []string of sorted keys from a map. Used to ensure
268259
// deterministic ordering of generated code.
269260
func sortedKeys[T any](m map[string]T) []string {

0 commit comments

Comments
 (0)