Macro scope

Source
macro_rules! scope {
    { $($code:tt)* } => { ... };
}
Expand description

Make a delimited for temporary objects. Unlike { ... } which is not enough, this macro also includes a ; which does the trick. Useful e.g. to limit the scope of Mutex or RefCell guards.