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: Split bug #301

Open irbull opened 2 months ago

irbull commented 2 months ago

This PR creates a test cases that shows a bug with the split_before and split_after code. This PR fixes the bug and updates the tutorial with details about the issue.

irbull commented 2 months ago

There are 2 commits here. One adds the final sixth.rs code and the second one fixes the issue.