4 points · by chriskrycho · 1y ago · 0 comments
No comments yet.
Read the Code: Using Drop Safely in Rust — Sympolymathesy, by Chris Krycho
A deep dive into Rust’s vec::Drain and its Drop implementation as an example of how ownership prevents subtle bugs — memory and otherwise!
v5.chriskrycho.com