[][src]Macro scopeguard::defer

macro_rules! defer {
    ($e:expr) => { ... };
}

Macro to create a ScopeGuard (always run).

The macro takes one expression $e, which is the body of a closure that will run when the scope is exited. The expression can be a whole block.