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.