Skip to content

std::slice::bytes::copy_memory and std::io::copy take their arguments in different orders #22890

Closed
@sfackler

Description

@sfackler

std::slice::bytes::copy_memory takes the destination first (like memcpy does), while std::io::copy takes the source first.

cc @aturon

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions