2026-03-12 20:54:14 -04:00
|
|
|
// TODO: Fix the compiler error without changing the function signature.
|
2026-03-23 03:36:33 -04:00
|
|
|
fn current_favorite_color() -> &'static str {
|
2026-03-12 20:54:14 -04:00
|
|
|
"blue"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
let answer = current_favorite_color();
|
|
|
|
|
println!("My current favorite color is {answer}");
|
|
|
|
|
}
|