// prefer &str params: they accept literals AND &String
fn shout(s: &str) -> String {
s.to_uppercase()
}
fn main() {
let owned = String::from("hi");
// &String coerces to &str automatically
println!("{}", shout(&owned));
println!("{}", shout("there"));
}deref coercion passes &String as &str