Should have shown how the drop function is implemented. Which is literally an empty block.
@SimonClarkstone Жыл бұрын
I came here to say the same thing.
@jm-alan2 жыл бұрын
Great content, but tbh your thumbnail was a lil scary 😅 You need a bit more sleep and a bit less screen time. Respectfully, A Fellow Sleep-Deprived SWE
@gurnkerk38262 жыл бұрын
xD
@BastianInukChristensen Жыл бұрын
I would love if the Rust compiler called drop after last use, instead of when it exits scope. That's how I personally usually do it in C and C++ (when I manage by hand)