summaryrefslogtreecommitdiff
path: root/exercises/generics/generics1.rs
blob: f93e64a0bfda78f6930ccf6069179896199a835f (plain)
1
2
3
4
5
6
7
8
9
10
11
// This shopping list program isn't compiling!
// Use your knowledge of generics to fix it.

// Execute `rustlings hint generics1` for hints!

// I AM NOT DONE

fn main() {
    let mut shopping_list: Vec<?> = Vec::new();
    shopping_list.push("milk");
}