Skip to content

Commit

Permalink
format: reword deprecate notice and use doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
isegura-eos-eng committed Nov 15, 2024
1 parent f781442 commit e308fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/strings/strings.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package strings

import "slices"

// Deprecated: Use go slices package instead.
// Deprecated: Use standard library [slices.Contains] instead.
func Contains(list []string, needle string) bool {
// TODO(v4): remove package.
return slices.Contains(list, needle)
Expand Down

0 comments on commit e308fa6

Please sign in to comment.