fn main() {
// four common ways to get an owned String from a &str
let a: String = "x".to_string();
let b: String = "y".to_owned();
let c: String = String::from("z");
let d: String = "w".into();
println!("{a}{b}{c}{d}");
}to_string, to_owned, from, into