ea0559f00e
This may have been a deliberate choice on the part of the author. As a newbie going through the exercises it seems inconsistent with the previous exercises which use `???` as placeholders.
12 lines
257 B
Rust
12 lines
257 B
Rust
// 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");
|
|
}
|