UlyssesPrime 86f9341c62 Initial
2022-04-20 01:38:35 -04:00

15 lines
344 B
Rust

// strings1.rs
// Make me compile without changing the function signature!
// Execute `rustlings hint strings1` for hints ;)
fn main() {
let answer = current_favorite_color();
println!("My current favorite color is {}", answer);
}
fn current_favorite_color() -> String {
let s = "blue";
let n = s.to_string();
return n;
}