Skip to main content

write_line

Function write_line 

Source
pub fn write_line(writer: impl Write, text: &str) -> Result<()>
Expand description

Writes text plus one newline to a generic writer.

ยงErrors

Returns any I/O error reported by writer.