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 std::sync::LazyLock instead of lazy_static #453

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

Conversation

yjhn
Copy link
Member

@yjhn yjhn commented Jul 31, 2024

std::sync::LazyLock is an alternative to lazy_static that has been recently stabilized.

Copy link
Member

@MCOfficer MCOfficer left a comment

Choose a reason for hiding this comment

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

Oh that's awesome, i wasn't aware of this happening.

I'm still gonna wait a while until that version is everywhere, but it's not a change that goes bad over time. thank you!

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