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

Fix code snippet in sixth-cursors-intro.md #275

Open landaudiogo opened 1 year ago

landaudiogo commented 1 year ago

Code snippet was calling next on an instance of linked list. I believe the author intended to call iter.next() instead of list.next()