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

Document when to use Windows' symlink_dir vs. symlink_file #88647

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

ChrisDenton
Copy link
Contributor

It was previously unclear why there are two functions and when they should be used.

Fixes: #88635

It was previously unclear which should be used when.
@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 4, 2021
@ChrisDenton
Copy link
Contributor Author

I wasn't sure about the phrase "non-directory file" but it's the best I could think of considering how overloaded the word "file" is.

@joshtriplett
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Sep 6, 2021

📌 Commit 2d95b5b has been approved by joshtriplett

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 6, 2021
@rylev rylev mentioned this pull request Sep 6, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 6, 2021
Rollup of 6 pull requests

Successful merges:

 - rust-lang#88602 (Add tests for some const generics issues)
 - rust-lang#88647 (Document when to use Windows' `symlink_dir` vs. `symlink_file`)
 - rust-lang#88659 (Remove SmallVector mention)
 - rust-lang#88661 (Correct typo)
 - rust-lang#88673 (Fix typo: needede -> needed)
 - rust-lang#88685 (:arrow_up: rust-analyzer)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 29a018d into rust-lang:master Sep 6, 2021
@rustbot rustbot added this to the 1.57.0 milestone Sep 6, 2021
@ChrisDenton ChrisDenton deleted the win-symlink-docs branch September 6, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better docs for std::os::windows::fs::{symlink_dir, symlink_file};
6 participants