feat: added new exercises for generics

This commit is contained in:
sjmann
2020-02-28 00:09:08 +00:00
parent f981dcfde4
commit 76be5e4e99
5 changed files with 122 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
// This shopping list program isn't compiling!
// Use your knowledge of generics to fix it.
// I AM NOT DONE
fn main() {
let mut shopping_list: Vec<?> = Vec::new();
shopping_list.push("milk");
}