Going through rustlings for the first time
at main 222 B view raw
1fn current_favorite_color() -> String { 2 // Equivalent to `String::from("blue")` 3 "blue".to_string() 4} 5 6fn main() { 7 let answer = current_favorite_color(); 8 println!("My current favorite color is {answer}"); 9}