Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Havvy opened this issue Jul 19, 2018 · 1 comment
Closed

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

Havvy opened this issue Jul 19, 2018 · 1 comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools

Comments

@Havvy
Copy link
Contributor

Havvy commented Jul 19, 2018

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.

@scottmcm scottmcm added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Jul 31, 2018
@frewsxcv
Copy link
Member

I opened a PR for this: #53376

frewsxcv added a commit to frewsxcv/rust that referenced this issue Aug 15, 2018
kennytm added a commit to kennytm/rust that referenced this issue Sep 7, 2018
…Gomez

Cross reference io::copy and fs::copy in docs.

Fixes rust-lang#52524.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools
Projects
None yet
Development

No branches or pull requests

3 participants