Skip to main content

strip_line_ending

Function strip_line_ending 

Source
fn strip_line_ending(line: &[u8]) -> &[u8] ⓘ
Expand description

Strip the line ending, which a terminal turns into “\r\n”.