2 ms·
A method which takes foo and turns it into another type is slightly better. You can then unconditionally panic in the drop impl.
by surajrmal 2y ago
A method which takes foo and turns it into another type is slightly better. You can then unconditionally panic in the drop impl.
- bqmjjx0kac 2y agoNeat, I didn't realize that would skip drop()!