Skip to content

Conversation

@moritz-gross
Copy link
Contributor

@moritz-gross moritz-gross commented Jan 8, 2026

from my research, the functionality of lazy_static! has moved into the core library of the Rust language with LazyLock.

once this is simplified in the other files, the crate lazy_static could be removed.

I have not change all spots where this would apply.

I'm a bit disappointed in whatever diff implementation GitHub uses, I re-checked that none of the Regex's are touched, but here it only highlights the whole line and no individual language parts.

@moritz-gross moritz-gross changed the title use LazyLock in prefs.rs use LazyLock instead of lazy_static! Jan 8, 2026
@NSoiffer
Copy link
Collaborator

Good catch. I didn't know that lazy_static! is now obsolete.

@NSoiffer NSoiffer merged commit 2ffd95d into TalkingCatSW:main Jan 10, 2026
3 of 4 checks passed
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