summaryrefslogtreecommitdiff
path: root/exercises/09_strings/strings1.rs
blob: de762ebfd6bff536cbddc7229436330f011c8e44 (plain)
1
2
3
4
5
6
7
8
9
10
// Make me compile without changing the function signature!

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

fn current_favorite_color() -> String {
    "blue"
}