macro_rules! refcell { ($e:expr) => { ... }; ($e:expr,) => { ... }; ($($e:expr),+ $(,)?) => { ... }; }
Create a new RefCell.
RefCell
It is also able to create tuples if given more than one parameter.
use std::cell::RefCell; use sugars::refcell; assert_eq!(RefCell::new(10), refcell!(10));