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

Made ArrayVec::new and ArrayString::new const fns #181

Merged
merged 4 commits into from
Mar 29, 2021

Commits on Mar 28, 2021

  1. Made ArrayVec::new and ArrayString::new const fns

    Added utils module with a `MaybeUninit` helper type to construct `[MaybeUninit<T>; N]`
    
    Removed all uses of the "unstable-const-fn" feature, and documented it as being deprecated.
    
    Changed `assert_capacity_limit` macro to work in const contexts.
    rodrimati1992 committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    5ad4687 View commit details
    Browse the repository at this point in the history
  2. Added tests for construction in const context

    Updated the capacity panic test
    rodrimati1992 committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    165414e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b24baf1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5303f69 View commit details
    Browse the repository at this point in the history