Adding links and examples for various mspc pages #29377#41438
Adding links and examples for various mspc pages #29377#41438bors merged 1 commit intorust-lang:masterfrom projektir:mpsc_docs
Conversation
|
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
|
Thanks for the pull request @projektir! We'll make sure that @brson or another reviewer take a look at this in a reasonable amount of time. |
|
@projektir looks like the travis tests may be failing? Other than that looks good to me! |
There was a problem hiding this comment.
Some small nits, but this looks good to me overall! Thanks @projektir 😁
Edit: oops, didn't add all the comments...
src/libstd/sync/mpsc/mod.rs
Outdated
There was a problem hiding this comment.
This line is failing the test because there is a race condition.
src/libstd/sync/mpsc/mod.rs
Outdated
There was a problem hiding this comment.
Can you put a newline after the first sentence? The summary is quite long otherwise.
src/libstd/sync/mpsc/mod.rs
Outdated
src/libstd/sync/mpsc/mod.rs
Outdated
There was a problem hiding this comment.
Same as above. Can you also make into_iter into a link and format it the same way as you did for the summaries for Iter and TryIter?
|
@lukaramu this should be good for another review now. |
chordowl
left a comment
There was a problem hiding this comment.
Looks good to me now! 👌
|
@bors: r+ |
|
📌 Commit d7efbec has been approved by |
Adding links and examples for various mspc pages rust-lang#29377 Adding links and copying examples for the various Iterators; adding some extra stuff to `Sender`/`SyncSender`/`Receiver`.
Adding links and examples for various mspc pages rust-lang#29377 Adding links and copying examples for the various Iterators; adding some extra stuff to `Sender`/`SyncSender`/`Receiver`.
src/libstd/sync/mpsc/mod.rs
Outdated
| /// available and it's possible for more data to be sent. Once a message is | ||
| /// sent to the corresponding [`Sender`], then this receiver will wake up and | ||
| /// return that message. | ||
| /// sent to the corresponding [`Sender`] (or [`SyncSender`]), then this |
There was a problem hiding this comment.
https://travis-ci.org/rust-lang/rust/jobs/225404572
this line causes a failure on travis.
this is considered a markdown link:
[foo] (bar.html)
for the same reason this is:
[`Sender`] (or [`SyncSender`])
to get around this, do something like this:
[`Sender`][`Sender`] (or [`SyncSender`])
There was a problem hiding this comment.
Hmm, how did Travis not pick it up last time. 😕 Or the tests I ran, for that matter.
|
@bors r- |
|
...I want to say it should be good to merge now? |
|
Lookin' good! @bors: r+ rollup |
|
📌 Commit c59b188 has been approved by |
Adding links and examples for various mspc pages rust-lang#29377 Adding links and copying examples for the various Iterators; adding some extra stuff to `Sender`/`SyncSender`/`Receiver`.
Adding links and examples for various mspc pages rust-lang#29377 Adding links and copying examples for the various Iterators; adding some extra stuff to `Sender`/`SyncSender`/`Receiver`.
Adding links and examples for various mspc pages rust-lang#29377 Adding links and copying examples for the various Iterators; adding some extra stuff to `Sender`/`SyncSender`/`Receiver`.
Adding links and copying examples for the various Iterators; adding some extra stuff to
Sender/SyncSender/Receiver.