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

Rollup of 5 pull requests #41887

Merged
merged 21 commits into from
May 10, 2017
Merged

Rollup of 5 pull requests #41887

merged 21 commits into from
May 10, 2017

Conversation

Felix Raimundo and others added 21 commits May 7, 2017 13:47
- Adds an explanantion of what `park` does in the `unpark` documentation.
- Adds a link to the module doc.
Part of rust-lang#29378

- Moves the module documentation into `park`.
- Add the same example as the one from `unpark` to `park`.
The best way to do this wasn't in the documentation, and the ways that
were there needed some extra text to elaborate.

Fixes rust-lang#40159
This is something I always forget, so let's actually
explain in the docs.
Add more ways to create a PathBuf to docs

The best way to do this wasn't in the documentation, and the ways that
were there needed some extra text to elaborate.

Fixes rust-lang#40159

/cc @nagisa
…ushi

Improve docs on Arc<T> and Send/Sync

This is something I always forget, so let's actually
explain in the docs.

I didn't fully link up everything here, but I'd like to make sure that the wording is okay before I bother.
[DOC] Improve the thread::park and thread::unpark documentation

Part of rust-lang#29378 .

Takes care of the documentation for `park`, `park_duration` and also improves the `unpark` example.

- `park should` have its module documentation inlined here, and cleaned up.
- `park_timeout` could use links to `park`.
…labnik

[Doc] Improve `thread::spawn` documentation

Part of rust-lang#29378

- Add two examples to `thread::spawn` doumentation that show common uses of threads.
- Add a link to `thread::Builder` in the `thread::spawn` documentation for configuring threads.
- Add a link to `thread::spawn` in `thread::Builder` in order to avoid documentation duplication.

r? @steveklabnik
…abnik

fix typo in Unique::empty doc

Subject says it all
@rust-highfive
Copy link
Collaborator

r? @BurntSushi

(rust_highfive has picked a reviewer for you, use r? to override)

@steveklabnik
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Contributor

bors commented May 10, 2017

📌 Commit 19f1146 has been approved by steveklabnik

@bors
Copy link
Contributor

bors commented May 10, 2017

⌛ Testing commit 19f1146 with merge 978d2cf...

bors added a commit that referenced this pull request May 10, 2017
Rollup of 5 pull requests

- Successful merges: #41531, #41536, #41809, #41854, #41886
- Failed merges:
@bors
Copy link
Contributor

bors commented May 10, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: steveklabnik
Pushing 978d2cf to master...

@bors bors merged commit 19f1146 into rust-lang:master May 10, 2017
@bors bors mentioned this pull request May 10, 2017
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants