nix
nix copied to clipboard
Replace From<TimeSpec> for Duration with TryFrom<TimeSpec>
trafficstars
This is a breaking change, since its impossible to implement both From<T> and TryFrom<T> for a type. If you'd rather it were nonbreaking, maybe we could add a method like try_into_duration on TimeSpec?