1 2 3 4 5 6 7
pub fn greet(name: &str) -> String { decorate(name) } fn decorate(name: &str) -> String { format!("hello, {name}") }