FWIW, I feel pretty strongly that a comment is a much better solution than ManuallyDrop for this use-case. I would have leaned that way even without unsafe
(Drop impl is significantly more code, and you could get it wrong). But unsafe
, however trivial, is just a mountain of a cost for cases which don‘t need need unsafe
otherwise.