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

Use stdlib slices #6018

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bgerrity
Copy link

@bgerrity bgerrity commented May 29, 2024

What changed?

Switched references from golang.org/x/exp/slices to the standard library package.

Why?

The stdlib slices package was introduced in Go 1.21 so can use it. The signature changes in #4706 was all the real lifting.

How did you test it?

Ran unit tests locally. CI for the rest.

Potential risks

None.

Documentation

n/a

Is hotfix candidate?

No.

@CLAassistant
Copy link

CLAassistant commented May 29, 2024

CLA assistant check
All committers have signed the CLA.

@bgerrity bgerrity marked this pull request as ready for review May 29, 2024 16:54
@bgerrity bgerrity requested a review from a team as a code owner May 29, 2024 16:54
@alexshtin alexshtin changed the title use stdlib slices Use stdlib slices May 29, 2024
Copy link
Member

@alexshtin alexshtin left a comment

Choose a reason for hiding this comment

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

It would be nice to get rid of golang.org/x/exp from go.mod completely.

@bgerrity bgerrity force-pushed the brendan.gerrity/use-stdlib-slices branch from bf15005 to fd3182e Compare May 29, 2024 18:11
@bgerrity bgerrity force-pushed the brendan.gerrity/use-stdlib-slices branch from fd3182e to bc38cdb Compare May 29, 2024 18:12
@bgerrity
Copy link
Author

@alexshtin I think CI needs a kick to run.

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.

None yet

3 participants