Skip to content

It's not clear when try_clone calls can fail #45536

Closed
@achanda

Description

@achanda

Some types have a try_clone methods that returns Result<T>. From the documentation, it is not clear under what conditions can this call fail. Types that implement it are

https://doc.rust-lang.org/std/?search=try_clone

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.P-mediumMedium priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions