Nostr'a Katılın
2024-10-18 07:58:47 UTC
in reply to

iliazeus on Nostr: > It *is* possible to forbid Drop in Rust for a type and require explicit destruction ...

> It *is* possible to forbid Drop in Rust for a type and require explicit destruction

Do you mind giving an example of how it can be done? I've been looking for a way to do this some time ago, but haven't really found anything.