Fix type annotation for shopping_list

This commit is contained in:
Rock070 2024-01-02 23:47:42 +08:00
parent 3136192b9b
commit 344f62c9d3

View File

@ -6,9 +6,7 @@
// Execute `rustlings hint generics1` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
fn main() {
let mut shopping_list: Vec<?> = Vec::new();
let mut shopping_list: Vec<&str> = Vec::new();
shopping_list.push("milk");
}