Macro scopeguard::defer [−][src]
macro_rules! defer { ($($t:tt)*) => { ... }; }
Expand description
Macro to create a ScopeGuard
(always run).
The macro takes statements, which are the body of a closure that will run when the scope is exited.