I want to create a new instance of the types Char and I32.
To make a new instance of String, we do like this :
let mut new_instance:String = String::new();.
But what about a new instance of Char or I32 (or any other types ?)…
I guessed it’s something like this :
let mut new_instance:char = Char::new(); but it doesn’t works and i get an > error :
error[E0433]: failed to resolve. Use of undeclared type or moduleChar`
8 | let mut new_instance:char = Char::new();
| ^^^^ Use of undeclared type or module `Char``
Thanks for any help.