{"ast_node_type":"function","tokens":[{"end":46,"kind":"keyword","start":0,"text":"pub"}]}
pub fn defer<F: FnOnce()>(f: F) -> OnDrop<F> {
/// Returns a structure that calls `f` when dropped.
    OnDrop(Some(f))