rustfmt_nightly::comment

Function trim_end_unless_two_whitespaces

Source
fn trim_end_unless_two_whitespaces(s: &str, is_doc_comment: bool) -> &str
Expand description

Trim trailing whitespaces unless they consist of two or more whitespaces.