Complete generics

This commit is contained in:
ACvanWyk 2023-02-26 15:15:02 +02:00
parent 52ec3f5841
commit 01d39c2334

View File

@ -3,9 +3,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");
}