86dccc4ca7
a description starts with the filename, has an optional description and ends with help information
14 lines
314 B
Rust
14 lines
314 B
Rust
// generics1.rs
|
|
//
|
|
// This shopping list program isn't compiling!
|
|
// Use your knowledge of generics to fix it.
|
|
//
|
|
// If you need help, open the corresponding README.md or run: rustlings hint generics1
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
let mut shopping_list: Vec<?> = Vec::new();
|
|
shopping_list.push("milk");
|
|
}
|