Tracking issue for RFC 3681: Default field values · Issue #132162 · rust-lang/rust
This is a tracking issue for the RFC "3681" (rust-lang/rfcs#3681). The feature gate for the issue is #![feature(default_field_values)]. Allow struct definitions to provide default values for indivi...
You're viewing a single thread.
I think this would be a nice improvement to reduce boiler plate.