Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
codedokode
· 1y ago · 0 comments
The drop that you mention doesn't free memory, as I understand, it is called before actually destroying object's memory.
Comments
[–]
steveklabnik
1y ago
Not inherently, sure. But ultimately this is far afield of what I was trying to say, which is that the signature being discussed of being changed from &mut T to &owned T is the one from the Drop trait. That’s it.