Hi,
I found my way to a video series from Packt Publishing by an instructor named Matthew Stoodley. It discusses creating a singly linked list with examples of useful functions. It asks whether you can devise a function to insert an element in the correct place in a sorted list. I was not able to solve this, and went down a real rabbit hole on it, getting into the content at Introduction - Learning Rust With Entirely Too Many Linked Lists .....( [Learn Rust With Entirely Too Many Linked Lists]) After fighting with the borrow checker, etc, for a while, I went back to the Stoodley material. Lo and behold, copilot gave me an implementation that seems to work. This data structure is a little different than the one at [Learn Rust With Entirely Too Many Linked Lists].
I'm curious if anyone else has run into these videos and compared them to Introduction - Learning Rust With Entirely Too Many Linked Lists. The Stoodley stuff with the generated insert_sorted is very clean IMHO, but I am a Rust newbie.