Skip to content

Thread docs fix and improvements. #43619

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 2 commits into from
Aug 3, 2017
Merged

Conversation

frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented Aug 3, 2017

No description provided.

@frewsxcv
Copy link
Member Author

frewsxcv commented Aug 3, 2017

r? @QuietMisdreavus

Copy link
Member

@QuietMisdreavus QuietMisdreavus left a comment

Choose a reason for hiding this comment

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

Bangs where they shouldn't be

@@ -834,6 +835,9 @@ pub fn park_timeout(dur: Duration) {
/// let other_thread_id = other_thread.join().unwrap();
/// assert!(thread::current().id() != other_thread_id);
/// ```
///
//! [`id`]: ../../std/thread/struct.Thread.html#method.id
//! [`Thread`]: ../../std/thread/struct.Thread.html
Copy link
Member

Choose a reason for hiding this comment

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

//!

@@ -896,6 +900,9 @@ struct Inner {
/// docs of [`Builder`] and [`spawn`] for more details.
///
/// [`Builder`]: ../../std/thread/struct.Builder.html
//! [`JoinHandle::thread`]: ../../std/thread/struct.JoinHandle.html#method.thread
//! [`JoinHandle`]: ../../std/thread/struct.JoinHandle.html
//! [`thread::current`]: ../../std/thread/fn.current.html
Copy link
Member

Choose a reason for hiding this comment

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

//!

@frewsxcv frewsxcv dismissed QuietMisdreavus’s stale review August 3, 2017 03:16

Comments have been addressed in the latest force push.

@QuietMisdreavus
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Aug 3, 2017

📌 Commit 4c08c13 has been approved by QuietMisdreavus

@aidanhs aidanhs added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Aug 3, 2017
@bors
Copy link
Collaborator

bors commented Aug 3, 2017

⌛ Testing commit 4c08c13 with merge 1d2a6df...

bors added a commit that referenced this pull request Aug 3, 2017
@bors
Copy link
Collaborator

bors commented Aug 3, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: QuietMisdreavus
Pushing 1d2a6df to master...

@bors bors merged commit 4c08c13 into rust-lang:master Aug 3, 2017
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.

4 participants