Чар до верхнего корпуса ржавчина

let c: char = 'i';
let vec_upper: Vec<char> = c.to_uppercase().collect(); // vec_upper = ['I']
// if in the language you're working the uppercase of a char is always one char
let c_upper = vec_upper[0]; // c_upper = 'I'
// more in general you would put all the chars in vec_upper in a string
PeruTilli