mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-06 18:59:19 +00:00
Exercise 38
This commit is contained in:
parent
881be79991
commit
d6b32a0d69
@ -5,7 +5,7 @@
|
||||
// Execute `rustlings hint strings1` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
fn main() {
|
||||
let answer = current_favorite_color();
|
||||
@ -13,5 +13,5 @@ fn main() {
|
||||
}
|
||||
|
||||
fn current_favorite_color() -> String {
|
||||
"blue"
|
||||
"blue".to_string()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user