Skip to content

Doc: std::io::Write::write_all should mention ErrorKind::Interrupted #38494

Closed
@gyscos

Description

@gyscos

Just like std::io::Read::read_to_end mentions that Interruped errors are safe to ignore, std::io::Write::write_all should mention that write too can safely return this error without interrupting write_all.

Actually, both std::io::Read::read and std::io::Write::write could also probably mention this part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions