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

Make Vec and BTreeMap constructors const fns #82

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

jplatte
Copy link
Contributor

@jplatte jplatte commented Jan 29, 2025

This is especially useful for the sync ones, since this means you can use them as a static directly (no wrapping in LazyLock).

@Manishearth Manishearth merged commit 03db30d into Manishearth:master Jan 29, 2025
1 check passed
@jplatte jplatte deleted the const branch January 29, 2025 22:34
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