Add missing urls and examples for Condvar docs#40033
Conversation
src/libstd/sync/condvar.rs
Outdated
There was a problem hiding this comment.
There's a lot going on in the examples in this pull request, and I understand they probably can't get much smaller, but is it possible you could add a short sentence before each example giving an overview of what's going on?
In this particular example, maybe: "Using a CondVar to notify the main thread when when a child thread has started:"
There was a problem hiding this comment.
I wonder: is a summary enough or wouldn't it be better to just add more comments?
There was a problem hiding this comment.
Up to you, though I don't think it would hurt to have both
There was a problem hiding this comment.
Let's do both then!
b30735c to
b16ce2c
Compare
|
So apparently, the PS: the code sample is here. |
b16ce2c to
7c2439a
Compare
7c2439a to
d3b8f56
Compare
|
cc @frewsxcv |
|
@bors r+ rollup |
|
📌 Commit d3b8f56 has been approved by |
…sxcv Add missing urls and examples for Condvar docs r? @frewsxcv
…sxcv Add missing urls and examples for Condvar docs r? @frewsxcv
r? @frewsxcv