Skip to content

Conversation

@ldm0
Copy link

@ldm0 ldm0 commented Sep 11, 2025

This adds a new optional feature const_new that makes ThinVec::new() a const fn when enabled. The feature requires Rust 1.83 or later.

fixes #54

This adds a new optional feature `const_new` that makes `ThinVec::new()` a const fn when enabled. The feature requires Rust 1.83 or later.
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.

Make ThinVec::new constant

1 participant