how to append to a string in rust code example Example: rust how to add character to string let mut str = String::from("Hello World"); str.push('!');