Skip to content

fs::copy and io::copy should See Also each other #52524

Closed
@Havvy

Description

@Havvy

I was pointed at fs::copy on IRC earlier, but couldn't use it with tempfile because that just gives a File. Had fs::copy had a "See also" link to io::copy, I would have found it without complaining that I couldn't use fs::copy. And for similar reasons, io::copy should See Also to fs::copy for those who do want to copy a file based on paths and not readers and writers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions