Str and String equality



examples/strings/str-string-equality/src/main.rs
fn main() {
    let a = "hello";
    let b = "hello";
    let c = String::from("hello");
    let d = String::from("hello");

    println!("{}", a == b);
    println!("{}", a == c);
    println!("{}", c == d);
}

true
true
true