rustfmt_nightly::string

Function trim_end_but_line_feed

source
fn trim_end_but_line_feed(trim_end: bool, result: String) -> String
Expand description

Trims whitespaces to the right except for the line feed character.