fn main() {
let hello = "Hello".to_string();
let hello2 = "Hello";
let refer = &hello;
println!("{}" ,*refer==hello2)
}
let hello = String
let refer : &String
*refer = String value
and hello2 = string literal
How *refer and hello2 are comparable they are not even same type, one is String other is string literal?
(or am i missing something about dereferencing? Would be good if someone explain )