summaryrefslogtreecommitdiff
path: root/exercises/09_strings/strings1.rs
blob: 6abdbb48f07e23cf333e9d9cb4eafe70a09e1d19 (plain)
1
2
3
4
5
6
7
8
9
// TODO: Fix the compiler error without changing the function signature.
fn current_favorite_color() -> String {
    "blue"
}

fn main() {
    let answer = current_favorite_color();
    println!("My current favorite color is {answer}");
}