Resolve "Duration struct's fields are private"
Compare changes
+ 7
− 1
@@ -225,7 +225,7 @@ impl Display for Unit {
@@ -233,6 +233,12 @@ impl Display for Duration {
Closes #7 (closed)
This MR also adds a From<(u64, Unit)>
implementation for the Duration
type for convenience.