mod.rs
This file
Path
src/output/mod.rs
12 lines · 345 bytes · Rust
Last changed by
Merge pull request #962 from sharkdp/codex/quantity-module-layoutDavid Peterbefore adoptionecf8a24
History of this fileTake it
The walk stopped after 200 commits: lines older than c44aa1d point at it.
Fix clippy suggestionsDavid Peterbefore adoptionc44aa1d
lines 1–2why, one step back1pub mod progress_bar;2pub mod warnings;Handle broken pipe errors on stdout gracefully (#932)jkbefore adoptionc0b3834
lines 3–12why, one step back34/// Mark console write errors so broken pipes can be handled separately from file errors.5macro_rules! console_writeln {6 ($writer:expr $(, $($args:tt)*)?) => {7 writeln!($writer $(, $($args)*)?)8 .map_err($crate::error::ConsoleOutputError)9 };10}1112pub(crate) use console_writeln;