Crates.io | new_flattened |
lib.rs | new_flattened |
version | 0.1.1 |
source | src |
created_at | 2021-01-26 05:19:28.409617 |
updated_at | 2021-01-26 06:25:58.611507 |
description | Macro to flatten nested calls of `new`s |
homepage | |
repository | https://github.com/matsujika/new_flattened |
max_upload_size | |
id | 346751 |
size | 2,891 |
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)))