macro_rules! release_on_error {
($releasable_name:ident, $context:expr, $body:block ) => { ... };
}Expand description
Macro that ensure the releasable is released with the given context if the body returns an error.
macro_rules! release_on_error {
($releasable_name:ident, $context:expr, $body:block ) => { ... };
}Macro that ensure the releasable is released with the given context if the body returns an error.