Skip to main content

trim_lines

Function trim_lines 

Source
pub fn trim_lines(input: &str) -> String
Expand description

Trims each logical line independently and preserves the input line-ending style when possible.