Skip to content

to_writer and from_reader should not require Sized #68

Description

@mattfbacon

The generic bounds for to_writer and from_reader do not have ?Sized so they implicitly require Sized.

If I want to use a DST (mainly dyn std::io::Write) in this case, it gets a bit ugly because I have to double-borrow (&mut &mut dyn std::io::Write).

From my cursory inspection, there's nothing that requires it to be Sized. If I'm mistaken please tell me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions