pub fn trim_trailing_whitespace<'a>(a: &'a str) -> &'a str