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