-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Documentation for mpsc::Sender should reflect its Sync trait #114722
Copy link
Copy link
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Location
rust/library/std/src/sync/mpsc/mod.rs
Lines 306 to 309 in a07bc13
Summary
Given that
Syncis now implemented forSenderin #111087, the documentation forSendershould no longer mention that it's meant to be cloned. In my opinion, it's better to be consistent with the documentation forSyncSender, which has beenSync.rust/library/std/src/sync/mpsc/mod.rs
Lines 353 to 355 in a07bc13