Skip to content

Interacting with Cow? #363

Description

@SpriteOvO

Are there existing ways or future plans to support something like this?

let _: Cow<'a, [T]> = Cow::Owned(smallvec![])

I found an answer on StackOverflow, but it would be handy if smallvec had it built in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedNo clear candidate to implement itp-highhigh priorityr-featurerelated to a new feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions