Crates.io | default |
lib.rs | default |
version | 0.1.2 |
source | src |
created_at | 2018-11-04 05:57:55.632735 |
updated_at | 2018-11-04 19:41:59.03025 |
description | `use default::default;` |
homepage | https://github.com/dpc/rust-default |
repository | https://github.com/dpc/rust-default |
max_upload_size | |
id | 94616 |
size | 1,829 |
This crate implements standalone default()
function that can be imported
with use default::default;
and then in your code you can just:
let foo = default();
instead of the usual:
let foo = Default::default();