strings1.rs (251B)
1 // TODO: Fix the compiler error without changing the function signature. 2 fn current_favorite_color() -> String { 3 "blue".to_string() 4 } 5 6 fn main() { 7 let answer = current_favorite_color(); 8 println!("My current favorite color is {answer}"); 9 }