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

Replace once-cell and lazy-static with std types #3208

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

MartinquaXD
Copy link
Contributor

Description

Since the functionality of once-cell and lazy-static was moved into the standard library it's the idiomatic thing to use the std types instead of the crates.

Changes

Replaced all uses of once-cell and lazy-static with the equivalent std type.

@MartinquaXD MartinquaXD requested a review from a team as a code owner January 4, 2025 12:19
@MartinquaXD MartinquaXD changed the title Replace once cell and lazy static Replace once-cell and lazy-static with std types Jan 4, 2025
Copy link
Contributor

@squadgazzz squadgazzz left a comment

Choose a reason for hiding this comment

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

Very nice 🙌

@MartinquaXD MartinquaXD merged commit c971b67 into main Jan 6, 2025
11 checks passed
@MartinquaXD MartinquaXD deleted the replace-once-cell-and-lazy-static branch January 6, 2025 10:22
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants