1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-29 15:31:23 +02:00
rustlings/exercises/generics/generics1.rs
Benjamin Jones bb5f404e35 chore: Alter whitespace for consistency
* Add newline after "I AM DONE" in exercises for consistency
* Remove trailing whitespace from exercises
2020-07-11 11:50:54 -07:00

11 lines
206 B
Rust

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