-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
std::io::copy should take Read and Write traits by value #105643
Copy link
Copy link
Closed
Labels
T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]disposition-closeThis PR / issue is in PFCP or FCP with a disposition to close it.This PR / issue is in PFCP or FCP with a disposition to close it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]disposition-closeThis PR / issue is in PFCP or FCP with a disposition to close it.This PR / issue is in PFCP or FCP with a disposition to close it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
This was suggested by @alexcrichton way back in 2015:
but it wasn't done as it regressed 3 (root) crates in a crater run. Still, ideally if the API breakage policy is ever revisited, it would be better to take
ReadandWriteby-value, as a type impl'ingReadtransmits this property to&mutreferences of it.@rustbot label T-libs-api rust-2-breakage-wishlist