Skip to content

std::ptr::read_ptr shouldn't take *mut #10579

Closed
@ben0x539

Description

@ben0x539

read_ptr only calls memcpy to copy from its argument, it doesn't mutate it.

cc: @thestinger agrees, @Kimundi disagrees. :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions