This crates provides new_flattened! macro which enables you to write
new_flattened!
new_flattened!(42, Box, Box, Box)
instead of
Box::new(Box::new(Box::new(42)))
new