Matthias Krüger a9743e108a
Rollup merge of #111875 - WaffleLapkin:defer_on_drop, r=Nilstrieb
Don't leak the function that is called on drop

It probably wasn't causing problems anyway, but still, a `// this leaks, please don't pass anything that owns memory` is not sustainable.

I could implement a version which does not require `Option`, but it would require `unsafe`, at which point it's probably not worth it.
2023-05-25 08:01:08 +02:00
..
2023-04-14 13:04:58 +00:00
2023-04-18 14:13:19 -04:00
2023-05-16 12:09:24 +00:00
2023-04-09 23:22:14 +02:00
2023-05-16 11:55:47 +00:00
2023-04-20 19:54:10 +00:00
2023-04-09 23:22:14 +02:00