Function rustfmt_nightly::comment::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.