-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Rename Send trait to Owned #3542
Copy link
Copy link
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The concepts around the core language are much clearer now than when we added the kind system. At the time I was disappointed about including the notion of 'sendability' in the language, while all the actual sending was going on in libraries. Now we have a much better term for sendable things, 'owned', and owning a thing is useful for more than just sending.
If we want we can keep a
Sendtrait that derives fromOwnedto use in the comms mods. This would require tagging types as Send, which may or may not be desirable. Regardless,Sendshould be demoted.Owned2012.