Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Use go stdlib slices.Contains() #670

Merged
merged 1 commit into from
Mar 21, 2025
Merged

Conversation

56quarters
Copy link
Contributor

What this PR does:

Go 1.21 added slices.Contains() so we don't need our own implementation.

Which issue(s) this PR fixes:

N/A

Checklist

  • Tests updated
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Go 1.21 added `slices.Contains()` so we don't need our own implementation.

Signed-off-by: Nick Pillitteri <[email protected]>
@56quarters 56quarters marked this pull request as ready for review March 21, 2025 18:07
@56quarters 56quarters requested a review from a team March 21, 2025 18:09
Copy link
Contributor

@narqo narqo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@56quarters 56quarters merged commit 22a660c into main Mar 21, 2025
5 checks passed
@56quarters 56quarters deleted the 56quarters/slices branch March 21, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants