Skip to content

option is_some() should not require a copyable value #2636

Closed

Description

@nikomatsakis

But it does now. Same with is_none(), iter(), and map() I believe. And possibly others.

Activity

  1. eholk commented on Jun 18, 2012

    @eholk
    Contributor

    Does this go for vectors too? I think I've been having to add copy bounds, but if we're clever we should be able to rewrite them without needing copy.

  2. nikomatsakis commented on Jun 18, 2012

    @nikomatsakis
    ContributorAuthor

    It often applies to vectors, yes.

  3. added a commit that references this issue on Nov 6, 2022
  4. added a commit that references this issue on Jan 6, 2023
  5. added a commit that references this issue on Nov 10, 2025
  6. added a commit that references this issue on Aug 21, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions