summaryrefslogtreecommitdiff
path: root/exercises/generics/generics1.rs
blob: 35c1d2feed29dea352a5e224033a5285320ca914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// generics1.rs
//
// This shopping list program isn't compiling! Use your knowledge of generics to
// fix it.
//
// 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();
    shopping_list.push("milk");
}