default

Crates.iodefault
lib.rsdefault
version0.1.2
sourcesrc
created_at2018-11-04 05:57:55.632735
updated_at2018-11-04 19:41:59.03025
description`use default::default;`
homepagehttps://github.com/dpc/rust-default
repositoryhttps://github.com/dpc/rust-default
max_upload_size
id94616
size1,829
Dawid Ciężarkiewicz (dpc)

documentation

https://docs.rs/default

README

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();
Commit count: 6

cargo fmt