Skip to content
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

Modifications to os::copy_file() #10175

Closed
wants to merge 1 commit into from
Closed

Conversation

hatahet
Copy link
Contributor

@hatahet hatahet commented Oct 30, 2013

  • Returns false if destination exists.
  • Returns false if source is not a file (e.g. dir, sym link, etc.).

cc #9947

* Returns `false` if destination exists.
* Returns `false` if source is not a file (e.g. dir, sym link, etc.).

cc rust-lang#9947
@hatahet
Copy link
Contributor Author

hatahet commented Oct 30, 2013

cc #10085

@alexcrichton
Copy link
Member

This function has since been replaced with io::fs::copy, there may still be an issue or two with that, but the request should target that function instead. For now, closing.

flip1995 pushed a commit to flip1995/rust that referenced this pull request May 20, 2023
Use original variable name in the suggestion

Fix rust-lang/rust-clippy#10171

---

changelog: Sugg: [`manual_let_else`]: Now suggest the correct variable name
[rust-lang#10175](rust-lang/rust-clippy#10175)
<!-- changelog_checked -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants