Skip to content

Remove Self: NoCell bound from AsBytes::write_to #688

@joshlf

Description

@joshlf

In #682, we add a Self: NoCell bound to AsBytes::write_to and similar methods. This is technically unnecessary since we should be able to read the bytes of &self in the same way that an &UnsafeCell can be read, but removing the bound will require some manual reimplementation and careful reasoning about soundness.

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