Skip to content

try_* variants for slices #175

Open
Open
@stijnfrishert

Description

@stijnfrishert

Looking at the interface, I'm missing:

  • try_alloc_slice_clone()
  • try_alloc_slice_copy()
  • try_alloc_slice_fill_clone()
  • try_alloc_slice_fill_copy()
  • try_alloc_slice_fill_default()
  • try_alloc_slice_iter()
  • try_alloc_slice_with()

Need try_alloc_slice_fill_copy() and try_alloc_slice_fill_default() myself, though why not add all while we're at it?

Is there a specific reason these weren't added?

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

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions