rustlings/exercises/generics/generics1.rs
Jonathan Baugh ea0559f00e
Consisten placeholder for generics1.rs
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.
2021-06-05 21:40:11 +02:00

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");
}