just/src/default.rs
Casey Rodarmor 3de31b3c02
Remove misc.rs (#491)
Put everything that was in `misc.rs` into their own files, with some opportunistic
refactoring, because why not.
2019-10-09 01:40:40 -07:00

4 lines
66 B
Rust

pub(crate) fn default<T: Default>() -> T {
Default::default()
}