Function rustfmt_nightly::utils::remove_trailing_white_spaces

source ยท
pub(crate) fn remove_trailing_white_spaces(text: &str) -> String
Expand description

Removes trailing spaces from the specified snippet. We do not remove spaces inside strings or comments.