https://github.com/stouset/secrets/blob/master/src/secret.rs#L215
For the Drop implementation of Secret<T> (linked above), why do you assert if the thread is panicking when the target is not on Windows and munlock was successful?
My purpose is to understand and learn from you.
Thank you.
https://github.com/stouset/secrets/blob/master/src/secret.rs#L215
For the
Dropimplementation ofSecret<T>(linked above), why do you assert if the thread is panicking when the target is not on Windows andmunlockwas successful?My purpose is to understand and learn from you.
Thank you.