Skip to content

use const_generics for AlignedArray once it hits stable #2031

Open
@lu-zero

Description

@lu-zero
  • Replace the ARRAY generic with with a generic type bound over const N: usize and T
    • Potentially restrict it to only Copy types
  • Add an init_slice_mut() method
    • Replace the usage of init_slice_repeat_mut

See: rust-lang/rust#44580

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions