-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-clientArea: client.Area: client.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.
Description
To my mind, the standard way in Rust to instantiate something without any arguments is handled by the Default trait. Types implementing it can be aggregated, allowing the aggregator to simply use #[derive(Default)].
I think Client should implement it, and there might be other hyper-types which would need such an implementation as well.
Vec::default() might be a good starting point for this.
Metadata
Metadata
Assignees
Labels
A-clientArea: client.Area: client.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.