rust-unofficial / too-many-lists

Learn Rust by writing Entirely Too Many linked lists
https://rust-unofficial.github.io/too-many-lists/
MIT License
3.16k stars 276 forks source link

Reword description about struct-wrapping #255

Open puilp0502 opened 2 years ago

puilp0502 commented 2 years ago

In the first-layout.md, there is a step where we convert List into a struct due to pub enum spilling its internals.

I've had a hard time wrapping my head around this step, and I believe it would be much clearer to the readers what we're doing if we explicitly say that we're wrapping the previous List enum inside the new List struct.