2 releases
0.1.1 | Jan 26, 2021 |
---|---|
0.1.0 | Jan 26, 2021 |
#1983 in Rust patterns
3KB
new_flattened
This crates provides new_flattened!
macro which enables you to write
new_flattened!(42, Box, Box, Box)
instead of
Box::new(Box::new(Box::new(42)))
lib.rs
:
This crates provides new_flattened!
macro which enables you to write
new_flattened!(42, Box, Box, Box)
instead of
Box::new(Box::new(Box::new(42)))