fn main() { println!("Hello, world!"); } struct Solution; impl Solution { pub fn reverse_words(mut s: String) -> String { unsafe {s.as_bytes_mut() }.split_mut(|&x| x == b' ').for_each(|x| x.reverse()); s } }