I'm so sorry to ask such a simple question... A day ago, I started learning Rust and tried the println! method.
fn main() {
println!("Hello {}!", "world");
}
-> Hello world!
And then, I found other format styles: {}, {:}, {:?}, {?}, ...
I know that {} is instead String, but I don't understand the other format style. How do those styles differ from each other? I think {:?} is array or vector. Is it correct?
Please explain these format style with sample code :(