Skip to content

Remove/Update dead links on Tasks guide. #13924

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

Merged
merged 1 commit into from
May 5, 2014
Merged

Remove/Update dead links on Tasks guide. #13924

merged 1 commit into from
May 5, 2014

Conversation

gmjosack
Copy link
Contributor

@gmjosack gmjosack commented May 3, 2014

Most of the links I've removed are for types that don't exist anymore with the exception of SendReceiver though I'm not sure how useful it is to link to that without the accompanying Receiver and Sender and I don't know how useful those links are when they're discussed below and channel/sync_channel is on the std::comm page already linked.

* [`sync::RWArc`] - A dual-mode Arc protected by a reader-writer lock,
* [`sync::MutexArc`] - An Arc with mutable data protected by a blocking mutex,
* [`sync::Semaphore`] - A counting, blocking, bounded-waiting semaphore,
* [`sync::raw::Semaphore`] - A counting, blocking, bounded-waiting semaphore,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually still correct, and it's favored to use sync::Semaphore instead of sync::raw::Semaphore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting.The link is currently dead on master as it looks like sync::Semaphore is just a reexport. What's the appropriate place to link to? Should I just link to sync::raw::Semaphore and leave the name alone?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd leave the name as sync::Semaphore and link to sync::raw::Semaphore.

@gmjosack
Copy link
Contributor Author

gmjosack commented May 4, 2014

Updated the link name.

@alexcrichton
Copy link
Member

Looks good to me, thanks! Could you squash the commits together?

@gmjosack
Copy link
Contributor Author

gmjosack commented May 4, 2014

Done. Thanks!

bors added a commit that referenced this pull request May 5, 2014
Most of the links I've removed are for types that don't exist anymore with the exception of `SendReceiver` though I'm not sure how useful it is to link to that without the accompanying `Receiver` and `Sender` and I don't know how useful those links are when they're discussed below and `channel`/`sync_channel` is on the `std::comm` page already linked.
@bors bors closed this May 5, 2014
@bors bors merged commit 9246682 into rust-lang:master May 5, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2023
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.

3 participants