-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Duration
doesn't implement Default
. I found this out because I had a struct with #[derive(Default)]
and I tried to add a Duration
member to it, and that no longer worked. This means that I'd have to manually implement Default
, which stinks because the struct has quite a few members. It seems like we could give Duration
an implementation that just returns a zero-length Duration
.
retep998, Thiez, vaartis and kskalski
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.