Closed
Description
Part of #29329
http://doc.rust-lang.org/std/sync/
Here's what needs to be done to close out this issue:
- the module-level documentation is very small. It should explain what the module is for in more detail, with some examples.
-
std::sync::atomic
could use links to the types it references. -
std::sync::atomic::fence
has very... dry docs that aren't very helpful. And there's no examples. -
ATOMIC_*_INIT
(link is just to BOOL but all of them) could use examples. -
Atomic*
(link is to Bool but all of them) are mostly fine, but could use links to other types and some beefing up generally. -
Barrier
needs a bunch of types linked. -
BarrierWaitResult
should explain its relationship withBarrier
and link to it. -
Condvar
needs examples on its methods. -
Once
needs to link toONCE_INIT
. -
PoisonError
needs examples. -
RwLock
needs examples, links to types, and a comparison between it andMutex
. -
WaitTimeoutResult
should link to the method that creates it. -
TryLockError
needs to link to the function that creates it. -
ONCE_INIT
needs a link toOnce
and some examples. -
LockResult
needs links. -
TryLockResult
needs links. -
Weak
could do a much better job of explaining itself. -
std::sync::mspc
needs a lot of links. The docs are good but a bit jargon-heavy, expanding those would be nice. -
IntoIter
needs more links and to explain how you get one. -
Iter
is the same. -
Receiver
needs links, examples, and more explanation of what it is. -
RecvError
needs to link torecv
. -
SendError
needs links. -
Sender
has the same issues asReceiver
. -
SyncSender
has the same asSender
. -
TryIter
needs to link to how to create one. -
RecvTimeoutError
needs to link torecv_timeout
. -
TryRecvError
needs to link totry_recv
-
TrySendError
needs to link totry_send
. -
channel
has almost no docs and it's the focus of this module! -
sync_channel
should point tochannel
and then tell how it's different.
Metadata
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsCategory: An issue tracking the progress of sth. like the implementation of an RFCCall for participation: Help is requested to fix this issue.Call for participation: Medium difficulty. Experience needed to fix: Intermediate.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Medium priority