-
Notifications
You must be signed in to change notification settings - Fork 317
Open
Description
The current documentation describes Send and Sync in this way:
A type is Send if it is safe to send it to another thread.
A type is Sync if it is safe to share between threads (T is Sync if and only if &T is Send).
This wording is unclear to me, overly formal yet vague (what does it mean, exactly, "send to another thread"?)
Proposed change:
Send: A type is Send if it can be moved into another thread.
Sync: A type is Sync if it can be borrowed into another thread. (T is Sync if and only if &T is Send)
This phrasing doesn't change the meaning but makes it much more clear IMHO.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.