Merge pull request #38 from akshitgautam42/Ex-38

Exercise 38
This commit is contained in:
Akshit Gautam 2023-11-13 18:00:27 +05:30 committed by GitHub
commit a06c729360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
// Execute `rustlings hint strings1` or use the `hint` watch subcommand for a // Execute `rustlings hint strings1` or use the `hint` watch subcommand for a
// hint. // hint.
// I AM NOT DONE
fn main() { fn main() {
let answer = current_favorite_color(); let answer = current_favorite_color();
@ -13,5 +13,5 @@ fn main() {
} }
fn current_favorite_color() -> String { fn current_favorite_color() -> String {
"blue" "blue".to_string()
} }