arc

Macro arc 

Source
macro_rules! arc {
    ($val:expr) => { ... };
}
Expand description

Macro for creating an Arc<T> from a value

ยงExample

use hurry::arc;
let x = arc!(5);
assert_eq!(*x, 5);