arcm 0.1.0

Provides a macro for more concise Arc<Mutex<_>> creation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# arcm

Macro for more concise `Arc<Mutex<_>>` creation.

`arcm!(42)` expands to `Arc::new(Mutex::new(42))`.

`arcm!(42, u8)` expands to `Arc::new(Mutex::<u8>::new(42))` for explicit type hints.

There's also an `ArcM` type alias.

And that's all.

## License

This code is available under the [WTFPL](https://spdx.org/licenses/WTFPL.html).