new_flattened 0.1.1

Macro to flatten nested calls of `new`s
Documentation

new_flattened

Cargo

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)))