'How can I declare a default constructed char?

This seems to be a simple question but I am very new to Rust so I am still asking. So, I could not get a way to declare char in default constructed or leave uninitialized and this is what I did:

let mut r: char = 0 as char;
// let mut r: char; // error

I do not know it is right the way to do it or is there are proper way to do it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source