rustlings vec primitive types

This commit is contained in:
2026-06-12 12:05:51 +02:00
parent 7b26706218
commit 85c0fb50cb
215 changed files with 4435 additions and 0 deletions
+9
View File
@@ -0,0 +1,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}");
}