stdx

Function defer

Source
pub fn defer<F: FnOnce()>(f: F) -> impl Drop