Macro tikv_util::defer[][src]

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

Simulates Go’s defer.

Please note that, different from go, this defer is bound to scope. When exiting the scope, its deferred calls are executed in last-in-first-out order.