recursive list definition

This commit is contained in:
Sander Hautvast 2022-01-26 18:48:28 +01:00
parent dcc385a1e1
commit c413e9b922

View file

@ -1,3 +1,8 @@
fn main() {
println!("Hello, world!");
}
pub enum List {
Empty,
Elem(i32, List),
}