Oh man, I've been battling with Rust implementing a BST the last 2 days and it's funny how every single error you mentioned I went through, and I saw the same exact thought process take place. Very funny experience for me haha
Thank you so much for making these videos! They are very helpful. I used to struggle without knowing about the right idioms in rust and my tree and graph traversals looked very noisy. Could you also consider making a video on traversals of general graph nodes? I’m curious to know what other idioms exist when there are several wrappers around the payload like Option.
Oh man, I've been battling with Rust implementing a BST the last 2 days and it's funny how every single error you mentioned I went through, and I saw the same exact thought process take place. Very funny experience for me haha
Thank you so much for making these videos! They are very helpful. I used to struggle without knowing about the right idioms in rust and my tree and graph traversals looked very noisy.
Could you also consider making a video on traversals of general graph nodes? I’m curious to know what other idioms exist when there are several wrappers around the payload like Option.
Thanks, hoping u continue such videos.
Great video! May I ask what your theme is?
println!("{:?}", tree);
| ^^^^ `binary_tree::Tree` cannot be formatted using `{:?}`
How did you do a debug printing of tree exactly?
use #[derive(Debug)] on the struct
amazing