Como passar uma corda literal
// How to pass a string literal
fn boom(s : &str) {
println!("{}", s)
}
fn main() {
boom("calendar");
}
Mackerel
// How to pass a string literal
fn boom(s : &str) {
println!("{}", s)
}
fn main() {
boom("calendar");
}