Skip to main content

line

Function line 

Source
pub fn line(reader: impl BufRead, writer: &mut impl Write) -> Result<bool>
Expand description

Read one line from reader and write it to writer, followed by a newline.

Returns true if a line was read, false on EOF.