Skip to content

vec::find should return a reference #3793

Closed
@erickt

Description

@erickt

Either that or we add a vec::find_ref function. Right now it returns a copy, so it trips up the no-implicit-copies warning.

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