rust map chars to string code example Example: rust char to string fn main() { let string = 'c'.to_string(); }