Skip to content

println! panics when piped into something that closes stdin early #50142

Closed
@P-E-Meunier

Description

@P-E-Meunier

After code using println! starts working, I don't think rustaceans should have to rewrite their code using finer error control.

println!("Hello, world") should not cause a panic when piped into anything. I believe the default behaviour should be to ignore errors, people wanting finer error control can still writeln! to stdout.

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